formatting
[jalview.git] / src / jalview / gui / FeatureRenderer.java
index 4abc85a..3c89d43 100755 (executable)
@@ -53,7 +53,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
   FontMetrics fm;
 
   int charOffset;
+
   Map featureColours = new ConcurrentHashMap();
 
   // A higher level for grouping features of a
@@ -172,7 +172,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
     this.featureColours = frs.featureColours;
     this.transparency = frs.transparency;
     this.featureOrder = frs.featureOrder;
-    if (av != null && av!=fr.av)
+    if (av != null && av != fr.av)
     {
       // copy over the displayed feature settings
       if (fr.av != null)
@@ -196,7 +196,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
           }
         }
       }
-  }
+    }
   }
 
   BufferedImage offscreenImage;
@@ -212,7 +212,8 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
    * This is used by the Molecule Viewer and Overview to get the accurate
    * colourof the rendered sequence
    */
-  public synchronized int findFeatureColour(int initialCol, SequenceI seq, int column)
+  public synchronized int findFeatureColour(int initialCol, SequenceI seq,
+          int column)
   {
     if (!av.showSequenceFeatures)
     {
@@ -256,7 +257,8 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
     }
 
     currentColour = null;
-    // TODO: non-threadsafe - each rendering thread needs its own instance of the feature renderer - or this should be synchronized.
+    // TODO: non-threadsafe - each rendering thread needs its own instance of
+    // the feature renderer - or this should be synchronized.
     offscreenRender = true;
 
     if (offscreenImage != null)
@@ -686,7 +688,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
     {
       minmax = new Hashtable();
     }
-    AlignmentI alignment=av.getAlignment();
+    AlignmentI alignment = av.getAlignment();
     for (int i = 0; i < alignment.getHeight(); i++)
     {
       SequenceFeature[] features = alignment.getSequenceAt(i)