JAL-1551 reinstate missing import
authorJim Procter <j.procter@dundee.ac.uk>
Tue, 21 Oct 2014 11:06:08 +0000 (12:06 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Tue, 21 Oct 2014 11:06:08 +0000 (12:06 +0100)
src/jalview/gui/AnnotationLabels.java

index 0c29840..7483c42 100755 (executable)
@@ -47,6 +47,7 @@ import java.awt.event.MouseListener;
 import java.awt.event.MouseMotionListener;
 import java.awt.geom.AffineTransform;
 import java.awt.image.BufferedImage;
+import java.util.Arrays;
 import java.util.Vector;
 import java.util.regex.Pattern;
 
@@ -497,7 +498,9 @@ public class AnnotationLabels extends JPanel implements MouseListener,
         this.setToolTipText(desc.toString());
       }
       else
+      {
         this.setToolTipText(null);
+      }
     }
 
   }
@@ -1028,7 +1031,9 @@ public class AnnotationLabels extends JPanel implements MouseListener,
           offset -= fm.getDescent();
         }
         else
+        {
           offset += fm.getDescent();
+        }
 
         x = width - fm.stringWidth(aa[i].label) - 3;