Merge branch 'develop' into features/JAL-2446NCList
[jalview.git] / src / jalview / analysis / StructureFrequency.java
index 7b0858d..b681aa6 100644 (file)
@@ -149,8 +149,8 @@ public class StructureFrequency
           {
             if (sequences[j] == null)
             {
-              System.err
-                      .println("WARNING: Consensus skipping null sequence - possible race condition.");
+              System.err.println(
+                      "WARNING: Consensus skipping null sequence - possible race condition.");
               continue;
             }
 
@@ -195,8 +195,9 @@ 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);
       }
@@ -217,7 +218,8 @@ public class StructureFrequency
       {
         if (canonicalOrWobblePairCount >= otherPairCount)
         {
-          maxResidue = (canonicalOrWobblePairCount - canonical) < canonical ? "("
+          maxResidue = (canonicalOrWobblePairCount - canonical) < canonical
+                  ? "("
                   : "[";
         }
         else
@@ -252,8 +254,9 @@ public class StructureFrequency
         residueHash = new Hashtable();
         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);
         }
@@ -444,7 +447,8 @@ public class StructureFrequency
     int valuesCount = 0;
     rtnval[1] = 0;
     int offset = 2;
-    final int divisor = profile[1][ignoreGapsInConsensusCalculation ? 1 : 0];
+    final int divisor = profile[1][ignoreGapsInConsensusCalculation ? 1
+            : 0];
     for (int c = 624; c > 0; c--)
     {
       if (vl[c] > 0)