JAL-2154 endless loop fixed (hopefully :) )
authorJim Procter <jprocter@issues.jalview.org>
Mon, 29 Aug 2016 21:09:02 +0000 (22:09 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Mon, 29 Aug 2016 21:09:02 +0000 (22:09 +0100)
test/jalview/io/CrossRef2xmlTests.java

index 080bda8..81cf698 100644 (file)
@@ -391,15 +391,8 @@ public class CrossRef2xmlTests extends Jalview2xmlBase
         else
         {
           pass1++;
-          if (pass1 < 2)
-          {
-            // verify stored projects for second set of cross references
-            pass2 = 1;
-          // and verify cross-references retrievable from those stored projects.
-            pass3 = 0;
-          }
         }
-      } while (pass3 < 2);
+      } while (pass1 < 3);
     }
     if (failedXrefMenuItems.size() > 0)
     {