public boolean compareStatus(String status1, String status2) { return (JSONCommit.Status.getStatusString(status1)) .equals(JSONCommit.Status.getStatusString(status2)); }
/** * Use this to set the status to ensure we only use the database status * * @param status A valid change status string (database or web format) */ public void setStatus(String status) { this.mStatus = JSONCommit.Status.getStatusString(status); }