← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19653: minor: codestyle + unnecessary private modifier

 

------------------------------------------------------------
revno: 19653
committer: Halvdan Hoem Grelland <halvdanhg@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-07-15 13:07:57 +0200
message:
  minor: codestyle + unnecessary private modifier
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/ValueType.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/common/ValueType.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/ValueType.java	2015-07-08 05:02:25 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/ValueType.java	2015-07-15 11:07:57 +0000
@@ -30,7 +30,6 @@
 
 import java.util.Date;
 
-import org.hisp.dhis.calendar.DateTimeUnit;
 import org.hisp.dhis.dataelement.DataElement;
 import org.hisp.dhis.trackedentity.TrackedEntityAttribute;
 import org.joda.time.DateTime;
@@ -48,7 +47,7 @@
     BOOLEAN( Boolean.class ),
     TRUE_ONLY( Boolean.class ),
     DATE( Date.class ),
-    DATETIME(DateTime.class),
+    DATETIME( DateTime.class ),
     NUMBER( Double.class ),
     UNIT_INTERVAL( Double.class ),
     PERCENTAGE( Double.class ),
@@ -60,12 +59,12 @@
     
     private final Class<?> javaClass;
     
-    private ValueType()
+    ValueType()
     {
         this.javaClass = null;
     }
     
-    private ValueType( Class<?> javaClass )
+    ValueType( Class<?> javaClass )
     {
         this.javaClass = javaClass;
     }