apply jalview code style
[jalview.git] / src / jalview / appletgui / FeatureRenderer.java
index d2712b8..6e9da1a 100755 (executable)
@@ -661,16 +661,16 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
         else if (sequenceFeatures[sfindex].type.equals("disulfide bond"))
         {
 
-          renderFeature(g, seq, seq
-                  .findIndex(sequenceFeatures[sfindex].begin) - 1, seq
-                  .findIndex(sequenceFeatures[sfindex].begin) - 1,
+          renderFeature(g, seq,
+                  seq.findIndex(sequenceFeatures[sfindex].begin) - 1,
+                  seq.findIndex(sequenceFeatures[sfindex].begin) - 1,
                   getColour(sequenceFeatures[sfindex])
                   // new Color(((Integer) av.featuresDisplayed
                   // .get(sequenceFeatures[sfindex].type)).intValue())
                   , start, end, y1);
-          renderFeature(g, seq, seq
-                  .findIndex(sequenceFeatures[sfindex].end) - 1, seq
-                  .findIndex(sequenceFeatures[sfindex].end) - 1,
+          renderFeature(g, seq,
+                  seq.findIndex(sequenceFeatures[sfindex].end) - 1,
+                  seq.findIndex(sequenceFeatures[sfindex].end) - 1,
                   getColour(sequenceFeatures[sfindex])
                   // new Color(((Integer) av.featuresDisplayed
                   // .get(sequenceFeatures[sfindex].type)).intValue())
@@ -681,9 +681,9 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
         {
           if (showFeature(sequenceFeatures[sfindex]))
           {
-            renderFeature(g, seq, seq
-                    .findIndex(sequenceFeatures[sfindex].begin) - 1, seq
-                    .findIndex(sequenceFeatures[sfindex].end) - 1,
+            renderFeature(g, seq,
+                    seq.findIndex(sequenceFeatures[sfindex].begin) - 1,
+                    seq.findIndex(sequenceFeatures[sfindex].end) - 1,
                     getColour(sequenceFeatures[sfindex]), start, end, y1);
           }
         }
@@ -747,6 +747,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
   }
 
   Hashtable minmax = null;
+
   /**
    * Called when alignment in associated view has new/modified features to
    * discover and display.
@@ -757,6 +758,7 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
     lastSeq = null;
     findAllFeatures();
   }
+
   /**
    * find all features on the alignment
    */
@@ -790,8 +792,8 @@ public class FeatureRenderer implements jalview.api.FeatureRenderer
         {
           if (getColour(features[index].getType()) == null)
           {
-            featureColours.put(features[index].getType(), ucs
-                    .createColourFromName(features[index].getType()));
+            featureColours.put(features[index].getType(),
+                    ucs.createColourFromName(features[index].getType()));
           }
 
           av.featuresDisplayed.put(features[index].getType(), new Integer(