Further work on statistics display
[jabaws.git] / webservices / compbio / stat / collector / JobStat.java
index 67767dc..25e0aa6 100644 (file)
@@ -232,14 +232,14 @@ public class JobStat {
        }\r
 \r
        public long getResultSize() {\r
-               if (resultSize != ExecutionStatCollector.UNDEFINED) {\r
+               if (resultSize > 0) {\r
                        return resultSize / 1000;\r
                }\r
                return 0;\r
        }\r
 \r
        public boolean hasResult() {\r
-               return resultSize != ExecutionStatCollector.UNDEFINED;\r
+               return resultSize > 0;\r
        }\r
 \r
        public boolean hasStarted() {\r