← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4106: Put serialVersionUID for Constant.

 

------------------------------------------------------------
revno: 4106
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-07-08 15:46:40 +0700
message:
  Put serialVersionUID for Constant.
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/constant/Constant.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/constant/Constant.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/constant/Constant.java	2011-06-30 07:55:55 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/constant/Constant.java	2011-07-08 08:46:40 +0000
@@ -35,15 +35,11 @@
  */
 public class Constant
     extends AbstractIdentifiableObject
-{
-    /**
-     * 
-     */
-    private static final long serialVersionUID = 1L;
-    
+{   
     /**
      * Determines if a de-serialized file is compatible with this class.
      */
+    private static final long serialVersionUID = -8420671741149847205L;
     
     // -------------------------------------------------------------------------
     // Variables