JAL-4134 properly specify BinaryNode as a typed generic container
[jalview.git] / src / jalview / analysis / TreeModel.java
index dd56424..ad3e88c 100644 (file)
@@ -409,8 +409,8 @@ public class TreeModel
     }
     else
     {
-      _groupNodes(groups, (SequenceNode) nd.left(), threshold);
-      _groupNodes(groups, (SequenceNode) nd.right(), threshold);
+      _groupNodes(groups, nd.left(), threshold);
+      _groupNodes(groups, nd.right(), threshold);
     }
   }