← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16761: minor fix

 

------------------------------------------------------------
revno: 16761
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2014-09-21 15:45:17 +0700
message:
  minor fix
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/DateTimeUnit.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/calendar/DateTimeUnit.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/DateTimeUnit.java	2014-09-01 06:00:24 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/DateTimeUnit.java	2014-09-21 08:45:17 +0000
@@ -398,7 +398,7 @@
         if ( month != that.month ) return false;
         if ( second != that.second ) return false;
         if ( year != that.year ) return false;
-        if ( !timeZone.equals( that.timeZone ) ) return false;
+        // if ( !timeZone.equals( that.timeZone ) ) return false;
 
         return true;
     }
@@ -414,7 +414,7 @@
         result = 31 * result + minute;
         result = 31 * result + second;
         result = 31 * result + millis;
-        result = 31 * result + timeZone.hashCode();
+        // result = 31 * result + timeZone.hashCode();
         return result;
     }