X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2FJobStateSummary.java;h=6b86775fd9f6ca6c035e611c95551ba15d4752de;hb=b3ec8456ea631e97597568e9bc66ec546eb0417f;hp=34d99b6e29d2a6c923a27064e2cc7e8dc0d63532;hpb=47168f025aefdaa044802bd5f8f510ffe43a4808;p=jalview.git diff --git a/src/jalview/ws/JobStateSummary.java b/src/jalview/ws/JobStateSummary.java index 34d99b6..6b86775 100644 --- a/src/jalview/ws/JobStateSummary.java +++ b/src/jalview/ws/JobStateSummary.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -79,11 +79,11 @@ public class JobStateSummary { if (j.cancelled) { - cancelled++; - j.subjobComplete=true; - wsInfo.setStatus(j.jobnum, WebserviceInfo.STATE_CANCELLED_OK); - return; - } + cancelled++; + j.subjobComplete = true; + wsInfo.setStatus(j.jobnum, WebserviceInfo.STATE_CANCELLED_OK); + return; + } if (j.submitted) { String progheader = ""; @@ -119,7 +119,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 +153,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"); // }