apply jalview code style
[jalview.git] / src / jalview / gui / RotatableCanvas.java
index 67fc95c..60cc19c 100755 (executable)
@@ -460,8 +460,8 @@ public class RotatableCanvas extends JPanel implements MouseListener,
 
       if (av.getSelectionGroup() != null)
       {
-        if (av.getSelectionGroup().getSequences(null).contains(
-                ((SequencePoint) points.elementAt(i)).sequence))
+        if (av.getSelectionGroup().getSequences(null)
+                .contains(((SequencePoint) points.elementAt(i)).sequence))
         {
           g.setColor(Color.gray);
         }
@@ -476,8 +476,9 @@ public class RotatableCanvas extends JPanel implements MouseListener,
       if (showLabels)
       {
         g.setColor(Color.red);
-        g.drawString(((SequencePoint) points.elementAt(i)).sequence
-                .getName(), x - 3, y - 4);
+        g.drawString(
+                ((SequencePoint) points.elementAt(i)).sequence.getName(),
+                x - 3, y - 4);
       }
     }
 
@@ -748,8 +749,8 @@ public class RotatableCanvas extends JPanel implements MouseListener,
       {
         if (av != null)
         {
-          if (!av.getSelectionGroup().getSequences(null).contains(
-                  sp.sequence))
+          if (!av.getSelectionGroup().getSequences(null)
+                  .contains(sp.sequence))
           {
             av.getSelectionGroup().addSequence(sp.sequence, true);
           }
@@ -818,12 +819,13 @@ public class RotatableCanvas extends JPanel implements MouseListener,
 
   /**
    * 
-   * @return x,y,z positions of point s (index into points) under current transform.
+   * @return x,y,z positions of point s (index into points) under current
+   *         transform.
    */
   public double[] getPointPosition(int s)
   {
     double pts[] = new double[3];
-    float[] p = ((SequencePoint)points.elementAt(s)).coord;
+    float[] p = ((SequencePoint) points.elementAt(s)).coord;
     pts[0] = p[0];
     pts[1] = p[1];
     pts[2] = p[2];