JAL-1807 explicit imports (jalview.io.*)
[jalview.git] / src / jalview / io / AnnotationFile.java
index 88cb46e..8706ad5 100755 (executable)
@@ -34,6 +34,8 @@ import jalview.schemes.ColourSchemeI;
 import jalview.schemes.ColourSchemeProperty;
 import jalview.schemes.ResidueProperties;
 import jalview.schemes.UserColourScheme;
+import jalview.util.Comparison;
+import jalview.util.Format;
 
 import java.io.BufferedReader;
 import java.io.FileReader;
@@ -278,8 +280,8 @@ public class AnnotationFile
             graphLine.append("\t");
             graphLine.append(row.getThreshold().label);
             graphLine.append("\t");
-            graphLine.append(jalview.util.Format.getHexString(row
-                    .getThreshold().colour));
+            graphLine
+                    .append(Format.getHexString(row.getThreshold().colour));
             graphLine.append(newline);
           }
 
@@ -310,7 +312,7 @@ public class AnnotationFile
                 && j < row.annotations.length; j++)
         {
           if (refSeq != null
-                  && jalview.util.Comparison.isGap(refSeq.getCharAt(j)))
+                  && Comparison.isGap(refSeq.getCharAt(j)))
           {
             continue;
           }
@@ -377,7 +379,7 @@ public class AnnotationFile
             {
               text.append(comma
                       + "["
-                      + jalview.util.Format
+                      + Format
                               .getHexString(row.annotations[j].colour)
                       + "]");
               comma = ",";
@@ -398,7 +400,7 @@ public class AnnotationFile
           colours.append("COLOUR\t");
           colours.append(row.label);
           colours.append("\t");
-          colours.append(jalview.util.Format.getHexString(color));
+          colours.append(Format.getHexString(color));
           colours.append(newline);
         }
         if (row.scaleColLabel || row.showAllColLabels
@@ -597,7 +599,7 @@ public class AnnotationFile
         }
       }
       text.append("outlineColour=");
-      text.append(jalview.util.Format.getHexString(sg.getOutlineColour()));
+      text.append(Format.getHexString(sg.getOutlineColour()));
       text.append("\t");
 
       text.append("displayBoxes=");
@@ -615,13 +617,13 @@ public class AnnotationFile
       if (sg.textColour != java.awt.Color.black)
       {
         text.append("textCol1=");
-        text.append(jalview.util.Format.getHexString(sg.textColour));
+        text.append(Format.getHexString(sg.textColour));
         text.append("\t");
       }
       if (sg.textColour2 != java.awt.Color.white)
       {
         text.append("textCol2=");
-        text.append(jalview.util.Format.getHexString(sg.textColour2));
+        text.append(Format.getHexString(sg.textColour2));
         text.append("\t");
       }
       if (sg.thresholdTextColour != 0)
@@ -633,7 +635,7 @@ public class AnnotationFile
       if (sg.idColour != null)
       {
         text.append("idColour=");
-        text.append(jalview.util.Format.getHexString(sg.idColour));
+        text.append(Format.getHexString(sg.idColour));
         text.append("\t");
       }
       if (sg.isHidereps())