From: Sasha Sherstnev Date: Fri, 29 Nov 2013 16:52:31 +0000 (+0000) Subject: Fix problem with the bean X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e7dbdaf39ceadf409ad1034e3e733ecd48a6e214;p=proteocache.git Fix problem with the bean --- diff --git a/datadb/compbio/cassandra/DataBase.java b/datadb/compbio/cassandra/DataBase.java index 26a019a..2f10eef 100644 --- a/datadb/compbio/cassandra/DataBase.java +++ b/datadb/compbio/cassandra/DataBase.java @@ -6,10 +6,10 @@ import java.util.Collections; public class DataBase { private String date; - private int total; // total number of jobs - private int totalOK; // number of jobs with execution status OK - private int totalStopped; // number of jobs with execution status STOPPED - private int totalError; // number of jobs with execution status Jpred ERROR + private int total; // total number of jobs + private int totalOK; // number of jobs with execution status OK + private int totalStopped; // number of jobs with execution status STOPPED + private int totalError; // number of jobs with execution status Jpred ERROR private int totalTimeOut; // number of jobs with execution status TIMEOUT private int totalJobs; private int totalId; // total jobs for current protein sequence @@ -22,6 +22,7 @@ public class DataBase { private List timeTotalExec; private StructureJobLog logInfo; private AnnotatedProteinSequenceBean predictions; + public DataBase() { } @@ -35,6 +36,8 @@ public class DataBase { } public String getDate() { + if (null == date) + return "1/1/1970"; return date; }