dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14747
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5097: Quick fix ...
------------------------------------------------------------
revno: 5097
committer: Bob Jolliffe bobjolliffe@xxxxxxxxx
branch nick: dhis2
timestamp: Thu 2011-11-03 12:02:12 +0000
message:
Quick fix ...
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/hibernate/HibernateDataElementStore.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-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/hibernate/HibernateDataElementStore.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/hibernate/HibernateDataElementStore.java 2011-11-03 11:57:16 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataelement/hibernate/HibernateDataElementStore.java 2011-11-03 12:02:12 +0000
@@ -74,14 +74,16 @@
// DataElement
// -------------------------------------------------------------------------
+ @Override
public int addDataElement( DataElement dataElement )
{
return this.save( dataElement );
}
+ @Override
public void updateDataElement( DataElement dataElement )
{
- this.updateDataElement( dataElement );
+ this.update( dataElement );
}
public void deleteDataElement( DataElement dataElement )