dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #21500
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10184: Minor
------------------------------------------------------------
revno: 10184
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-03-13 17:51:01 +0100
message:
Minor
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/DefaultDataValueAuditService.java
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/hibernate/HibernateDataValueAuditStore.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/datavalue/DefaultDataValueAuditService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/DefaultDataValueAuditService.java 2011-12-26 10:07:59 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/DefaultDataValueAuditService.java 2013-03-13 16:51:01 +0000
@@ -36,9 +36,7 @@
/**
* @author Quang Nguyen
- * @version Mar 30, 2010 9:45:56 PM
*/
-
public class DefaultDataValueAuditService
implements DataValueAuditService
{
@@ -55,10 +53,7 @@
public void addDataValueAudit( DataValueAudit dataValueAudit )
{
- if ( dataValueAudit != null )
- {
- dataValueAuditStore.addDataValueAudit( dataValueAudit );
- }
+ dataValueAuditStore.addDataValueAudit( dataValueAudit );
}
public void deleteDataValueAudit( DataValueAudit dataValueAudit )
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/hibernate/HibernateDataValueAuditStore.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/hibernate/HibernateDataValueAuditStore.java 2011-12-26 10:07:59 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/hibernate/HibernateDataValueAuditStore.java 2013-03-13 16:51:01 +0000
@@ -69,7 +69,6 @@
Session session = sessionFactory.getCurrentSession();
session.save( dataValueAudit );
- session.flush();
}
public void deleteDataValueAudit( DataValueAudit dataValueAudit )