JAL-3070 TODO
[jalview.git] / src / jalview / ws / JobStateSummary.java
index 4d3db58..478472b 100644 (file)
@@ -26,6 +26,9 @@ import jalview.gui.WebserviceInfo;
  * bookkeeper class for the WebServiceInfo GUI, maintaining records of web
  * service jobs handled by the window and reflecting any status updates.
  * 
+ * TODO: separate from the GUI cleanly since it also holds logic for
+ * interpreting failure states
+ * 
  * @author JimP
  * 
  */
@@ -119,7 +122,8 @@ public class JobStateSummary
       {
         serror++;
         j.subjobComplete = true;
-        wsInfo.setStatus(j.jobnum, WebserviceInfo.STATE_STOPPED_SERVERERROR);
+        wsInfo.setStatus(j.jobnum,
+                WebserviceInfo.STATE_STOPPED_SERVERERROR);
       }
       else if (j.isBroken())
       {
@@ -152,7 +156,8 @@ public class JobStateSummary
         }
         // } catch (OutOfMemoryError e)
         // {
-        // System.err.println("Out of memory when displaying status. Squashing error.");
+        // System.err.println("Out of memory when displaying status. Squashing
+        // error.");
         // wsInfo.appendProgressText(j.jobnum,
         // "..\n(Out of memory when displaying status)\n");
         // }