← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15894: Codestyle

 

------------------------------------------------------------
revno: 15894
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-06-27 18:34:46 +0200
message:
  Codestyle
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/datavalue/DataValue.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/datavalue/DataValue.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/datavalue/DataValue.java	2014-06-27 16:27:09 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/datavalue/DataValue.java	2014-06-27 16:34:46 +0000
@@ -107,7 +107,6 @@
      * @param attributeOptionCombo the attribute option combo.
      * @param value the value.
      * @param storedBy the user that stored this data value.
-     //* @param timestamp the time of creation of this data value.
      * @param lastUpdated the time of the last update to this data value.
      * @param comment the comment.
      */
@@ -122,7 +121,6 @@
         this.value = value;
         this.storedBy = storedBy;
         this.lastUpdated = lastUpdated;
-        //this.timestamp = timestamp;
         this.comment = comment;
     }
 
@@ -305,27 +303,34 @@
     {
         this.storedBy = storedBy;
     }
-    /*
-    public Date getTimestamp()
-    {
-        return timestamp;
-    }
-
-    public void setTimestamp( Date timestamp )
-    {
-        this.timestamp = timestamp;
-    }
-    */
-
-    public String getComment() { return comment; }
-
-    public void setComment( String comment ) { this.comment = comment; }
-
-    public Boolean getFollowup() { return followup; }
-
-    public void setFollowup( Boolean followup ) { this.followup = followup; }
-
-    public Date getLastUpdated() { return lastUpdated; }
-
-    public void setLastUpdated( Date lastUpdated ) { this.lastUpdated = lastUpdated; }
+
+    public Date getLastUpdated()
+    {
+        return lastUpdated;
+    }
+
+    public void setLastUpdated( Date lastUpdated )
+    {
+        this.lastUpdated = lastUpdated;
+    }
+    
+    public String getComment()
+    {
+        return comment;
+    }
+
+    public void setComment( String comment )
+    {
+        this.comment = comment;
+    }
+
+    public Boolean getFollowup()
+    {
+        return followup;
+    }
+
+    public void setFollowup( Boolean followup )
+    {
+        this.followup = followup;
+    }
 }
\ No newline at end of file