JAL-1359 simpler logic for deciding if all threads have finished.
authorJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 27 Aug 2013 15:08:17 +0000 (16:08 +0100)
committerJim Procter <jprocter@compbio.dundee.ac.uk>
Tue, 27 Aug 2013 15:08:17 +0000 (16:08 +0100)
Note: I couldn't reproduce the JAL-1359 bug after rebuilding my JABAWS development server - so trust me on this fix :)

src/jalview/ws/jws2/Jws2Discoverer.java

index 8ad14e0..2724d29 100644 (file)
@@ -189,7 +189,9 @@ public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI
       ;
       for (JabaWsServerQuery squery : qrys)
       {
-        finished = finished && !squery.isRunning();
+        if (squery.isRunning()){
+          finished=false;
+        }
       }
       if (aborted)
       {