JAL-1807 disambiguated method signatures with numeric primitive args
[jalview.git] / src / jalview / appletgui / TreeCanvas.java
index edcd961..64dd412 100755 (executable)
@@ -191,7 +191,7 @@ public class TreeCanvas extends Panel implements MouseListener,
       String nodeLabel = "";
       if (showDistances && node.dist > 0)
       {
-        nodeLabel = new Format("%-.2f").form(node.dist);
+        nodeLabel = new Format("%-.2f").formDouble(node.dist);
       }
       if (showBootstrap)
       {
@@ -276,7 +276,7 @@ public class TreeCanvas extends Panel implements MouseListener,
 
       if (showDistances && (node.dist > 0))
       {
-        nodeLabel = new Format("%-.2f").form(node.dist);
+        nodeLabel = new Format("%-.2f").formDouble(node.dist);
       }
 
       if (showBootstrap)