← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12900: Made id property on PeriodType non final. Solves issue with zero identifier values for persistent...

 

------------------------------------------------------------
revno: 12900
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-11-07 21:45:31 +0100
message:
  Made id property on PeriodType non final. Solves issue with zero identifier values for persistent period types.
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/PeriodType.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/period/PeriodType.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/PeriodType.java	2013-10-02 09:13:04 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/PeriodType.java	2013-11-07 20:45:31 +0000
@@ -143,12 +143,12 @@
 
     private int id;
 
-    public final void setId( int id )
+    public void setId( int id )
     {
         this.id = id;
     }
 
-    public final int getId()
+    public int getId()
     {
         return id;
     }