← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15382: remove unused constants in ProgramValidation

 

------------------------------------------------------------
revno: 15382
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-05-23 17:09:21 +0200
message:
  remove unused constants in ProgramValidation
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramValidation.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramValidation.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramValidation.java	2014-05-23 14:58:07 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramValidation.java	2014-05-23 15:09:21 +0000
@@ -51,23 +51,10 @@
      */
     private static final long serialVersionUID = 4785165717118297802L;
 
-    public static final String SEPARATOR_ID = "\\.";
     public static final String SEPARATOR_OBJECT = ":";
 
     public static String OBJECT_PROGRAM_STAGE_DATAELEMENT = "DE";
 
-    public static final String NOT_NULL_VALUE_IN_EXPRESSION = "{NOT-NULL-VALUE}";
-
-    public static final int BEFORE_CURRENT_DATE = 1;
-    public static final int BEFORE_OR_EQUALS_TO_CURRENT_DATE = 2;
-    public static final int AFTER_CURRENT_DATE = 3;
-    public static final int AFTER_OR_EQUALS_TO_CURRENT_DATE = 4;
-    public static final int BEFORE_DUE_DATE = -1;
-    public static final int BEFORE_OR_EQUALS_TO_DUE_DATE = -2;
-    public static final int AFTER_DUE_DATE = -3;
-    public static final int AFTER_OR_EQUALS_TO_DUE_DATE = -4;
-    public static final int BEFORE_DUE_DATE_PLUS_OR_MINUS_MAX_DAYS = -5;
-
     // -------------------------------------------------------------------------
     // Fields
     // -------------------------------------------------------------------------