in progress
[jalview.git] / forester / java / src / org / forester / sdi / SDIse.java
index 0f29bfb..7efd6a7 100644 (file)
@@ -79,9 +79,9 @@ public class SDIse extends SDI {
      *            reference to a rooted binary species Phylogeny which might get
      *            stripped in the process, must have species names in the
      *            species name fields for all external nodes
-     * @throws SdiException 
+     * @throws SDIException 
      */
-    public SDIse( final Phylogeny gene_tree, final Phylogeny species_tree ) throws SdiException {
+    public SDIse( final Phylogeny gene_tree, final Phylogeny species_tree ) throws SDIException {
         super( gene_tree, species_tree );
         _duplications_sum = 0;
         getSpeciesTree().preOrderReId();
@@ -96,7 +96,8 @@ public class SDIse extends SDI {
     private void calculateMforNode( final PhylogenyNode n ) {
         if ( !n.isExternal() ) {
             final boolean was_duplication = n.isDuplication();
-            PhylogenyNode a = n.getChildNode1().getLink(), b = n.getChildNode2().getLink();
+            PhylogenyNode a = n.getChildNode1().getLink();
+            PhylogenyNode b = n.getChildNode2().getLink();
             while ( a != b ) {
                 if ( a.getId() > b.getId() ) {
                     a = a.getParent();