dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #30661
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 15580: Fixed bug - Some of attribtues assigned for acertain program are saved into program in Add/Update...
------------------------------------------------------------
revno: 15580
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sat 2014-06-07 20:52:12 +0800
message:
Fixed bug - Some of attribtues assigned for acertain program are saved into program in Add/Update program form.
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramTrackedEntityAttribute.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/program/ProgramTrackedEntityAttribute.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramTrackedEntityAttribute.java 2014-05-26 12:01:56 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramTrackedEntityAttribute.java 2014-06-07 12:52:12 +0000
@@ -86,37 +86,6 @@
}
// -------------------------------------------------------------------------
- // hashCode, equals and toString
- // -------------------------------------------------------------------------
-
- @Override
- public boolean equals( Object o )
- {
- if ( this == o ) return true;
- if ( o == null || getClass() != o.getClass() ) return false;
-
- ProgramTrackedEntityAttribute that = (ProgramTrackedEntityAttribute) o;
-
- if ( displayInList != that.displayInList ) return false;
- if ( id != that.id ) return false;
- if ( attribute != null ? !attribute.equals( that.attribute ) : that.attribute != null ) return false;
- if ( mandatory != null ? !mandatory.equals( that.mandatory ) : that.mandatory != null ) return false;
-
- return true;
- }
-
- @Override
- public int hashCode()
- {
- int result = id;
- result = 31 * result + (attribute != null ? attribute.hashCode() : 0);
- result = 31 * result + (displayInList ? 1 : 0);
- result = 31 * result + (mandatory != null ? mandatory.hashCode() : 0);
- return result;
- }
-
-
- // -------------------------------------------------------------------------
// Getters && Setters
// -------------------------------------------------------------------------