JAL-1645 source formatting and organise imports
[jalview.git] / src / jalview / analysis / StructureFrequency.java
index 3c8274e..88387dd 100644 (file)
@@ -194,9 +194,8 @@ public class StructureFrequency
       if (profile)
       {
         // TODO 1-dim array with jsize in [0], nongapped in [1]; or Pojo
-        residueHash.put(PROFILE, new int[][]
-        { values, new int[]
-        { jSize, (jSize - values['-']) } });
+        residueHash.put(PROFILE, new int[][] { values,
+            new int[] { jSize, (jSize - values['-']) } });
 
         residueHash.put(PAIRPROFILE, pairs);
       }
@@ -239,9 +238,8 @@ public class StructureFrequency
         }
         if (profile)
         {
-          residueHash.put(PROFILE, new int[][]
-          { values, new int[]
-          { jSize, (jSize - values['-']) } });
+          residueHash.put(PROFILE, new int[][] { values,
+              new int[] { jSize, (jSize - values['-']) } });
 
           residueHash.put(PAIRPROFILE, pairs);
         }
@@ -427,8 +425,7 @@ public class StructureFrequency
         {
           for (int d = 65; d < 90; d++)
           {
-            ca[x] = new int[]
-            { c, d };
+            ca[x] = new int[] { c, d };
             vl[x] = pairs[c][d];
             x++;
           }
@@ -447,8 +444,7 @@ public class StructureFrequency
           {
             tval = (vl[c] * 100f / divisor);
             mouseOver += ((p == 0) ? "" : "; ") + (char) ca[c][0]
-                    + (char) ca[c][1] + " " + fmt.form(tval)
-                    + "%";
+                    + (char) ca[c][1] + " " + fmt.form(tval) + "%";
             p++;
 
           }
@@ -493,8 +489,7 @@ public class StructureFrequency
     {
       for (int d = 65; d < 90; d++)
       {
-        ca[x] = new int[]
-        { c, d };
+        ca[x] = new int[] { c, d };
         vl[x] = pairs[c][d];
         x++;
       }