← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22157: Minor

 

------------------------------------------------------------
revno: 22157
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2016-03-07 16:17:43 +0100
message:
  Minor
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/hibernate/HibernateEventListenerWiring.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/hibernate/HibernateEventListenerWiring.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/hibernate/HibernateEventListenerWiring.java	2016-03-07 15:16:38 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/hibernate/HibernateEventListenerWiring.java	2016-03-07 15:17:43 +0000
@@ -41,7 +41,6 @@
 import org.hibernate.event.spi.PreCollectionUpdateEvent;
 import org.hibernate.event.spi.PreCollectionUpdateEventListener;
 import org.hibernate.internal.SessionFactoryImpl;
-import org.hibernate.persister.entity.EntityPersister;
 import org.hisp.dhis.common.IdentifiableObject;
 import org.hisp.dhis.common.IdentifiableObjectManager;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -142,12 +141,6 @@
         {
             updateIdentifiableObjects();
         }
-
-        @Override
-        public boolean requiresPostCommitHanding( EntityPersister arg0 )
-        {
-            return false;
-        }
     };
 
     private PostInsertEventListener postInsertEventListener = new PostInsertEventListener()
@@ -157,12 +150,6 @@
         {
             updateIdentifiableObjects();
         }
-
-        @Override
-        public boolean requiresPostCommitHanding( EntityPersister arg0 )
-        {
-            return false;
-        }
     };
 
     private PostDeleteEventListener postDeleteEventListener = new PostDeleteEventListener()
@@ -172,12 +159,6 @@
         {
             updateIdentifiableObjects();
         }
-
-        @Override
-        public boolean requiresPostCommitHanding( EntityPersister arg0 )
-        {
-            return false;
-        }
     };
 
     private void updateIdentifiableObjects()