JAL-3438 spotless for 2.11.2.0
[jalview.git] / src / jalview / analysis / Rna.java
index 0d39abf..9649240 100644 (file)
@@ -198,10 +198,6 @@ public class Rna
     return pairs;
   }
 
-  
-
-  
-
   /**
    * Function to get the end position corresponding to a given start position
    * 
@@ -440,8 +436,8 @@ public class Rna
       /*
        * catch things like <<..<<..>>..<<..>>>> |
        */
-      int j = bps.size() - 1;
-      while (j >= 0)
+      int j = bps.size();
+      while (--j >= 0)
       {
         int popen = bps.get(j).getBP5();
 
@@ -460,7 +456,6 @@ public class Rna
             break;
           }
         }
-        j -= 1;
       }
 
       // Put positions and helix information into the hashtable