JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / gui / OverviewCanvas.java
index 8e67992..470fd64 100644 (file)
@@ -182,7 +182,7 @@ public class OverviewCanvas extends JPanel
   @Override
   public void paintComponent(Graphics g)
   {
-    //super.paintComponent(g);
+    // super.paintComponent(g);
 
     if (restart)
     {
@@ -207,9 +207,8 @@ public class OverviewCanvas extends JPanel
       {
         // if there is annotation, scale the alignment and annotation
         // separately
-        if (od.getGraphHeight() > 0 
-                       && od.getSequencesHeight() > 0  // BH 2019
-                       )
+        if (od.getGraphHeight() > 0 && od.getSequencesHeight() > 0 // BH 2019
+        )
         {
           BufferedImage topImage = lastMiniMe.getSubimage(0, 0,
                   od.getWidth(), od.getSequencesHeight());
@@ -250,13 +249,12 @@ public class OverviewCanvas extends JPanel
     {
       g.drawImage(lastMiniMe, 0, 0, getWidth(), getHeight(), this);
     }
-    
+
     // draw the box
     g.setColor(Color.red);
     od.drawBox(g);
   }
 
-
   public void dispose()
   {
     dispose = true;