formatting
[jalview.git] / src / jalview / analysis / NJTree.java
index 160d853..032ebae 100644 (file)
@@ -275,8 +275,8 @@ public class NJTree
   {
     jalview.io.NewickFile fout = new jalview.io.NewickFile(getTopNode());
 
-    return fout.print(isHasBootstrap(),
-    isHasDistances(), isHasRootDistance()); // output all data available for tree
+    return fout.print(isHasBootstrap(), isHasDistances(),
+            isHasRootDistance()); // output all data available for tree
   }
 
   /**
@@ -346,24 +346,29 @@ public class NJTree
       }
     }
   }
+
   /**
-   * rename any nodes according to their associated sequence.
-   * This will modify the tree's metadata! (ie the original NewickFile or newly generated BinaryTree's label data) 
+   * rename any nodes according to their associated sequence. This will modify
+   * the tree's metadata! (ie the original NewickFile or newly generated
+   * BinaryTree's label data)
    */
-  public void renameAssociatedNodes() {
-    applyToNodes(new NodeTransformI() {
+  public void renameAssociatedNodes()
+  {
+    applyToNodes(new NodeTransformI()
+    {
 
       @Override
       public void transform(BinaryNode node)
       {
         Object el = node.element();
-        if (el!=null && el instanceof SequenceI)
+        if (el != null && el instanceof SequenceI)
         {
-          node.setName(((SequenceI)el).getName());
+          node.setName(((SequenceI) el).getName());
         }
       }
     });
   }
+
   /**
    * DOCUMENT ME!
    */