[Schmitzm-commits] r2411 - trunk/schmitzm-hibernate/src/main/java/de/schmitzm/db/hibernate/gui/event

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 4 10:34:00 CET 2015


Author: mojays
Date: 2015-03-04 10:34:00 +0100 (Wed, 04 Mar 2015)
New Revision: 2411

Modified:
   trunk/schmitzm-hibernate/src/main/java/de/schmitzm/db/hibernate/gui/event/DatabaseUpdateEmitter.java
Log:
DatabaseUpdateEmitter: BugFix

Modified: trunk/schmitzm-hibernate/src/main/java/de/schmitzm/db/hibernate/gui/event/DatabaseUpdateEmitter.java
===================================================================
--- trunk/schmitzm-hibernate/src/main/java/de/schmitzm/db/hibernate/gui/event/DatabaseUpdateEmitter.java	2014-12-04 18:40:27 UTC (rev 2410)
+++ trunk/schmitzm-hibernate/src/main/java/de/schmitzm/db/hibernate/gui/event/DatabaseUpdateEmitter.java	2015-03-04 09:34:00 UTC (rev 2411)
@@ -67,7 +67,8 @@
    *                         updates (to avoid that listeners do unnecessary things) 
    */
   public void fireDatabaseUpdate(Object source, Object updatedRecord, boolean valueIsAdjusting) {
-    DatabaseUpdateEvent event = new DatabaseUpdateEvent(source, updatedRecord);
+//    DatabaseUpdateEvent event = new DatabaseUpdateEvent(source, updatedRecord);
+    DatabaseUpdateEvent event = new DatabaseRecordUpdatedEvent(source, updatedRecord);
     event.setValueIsAdjusting(valueIsAdjusting);
     fireDatabaseUpdate(event);
   }



More information about the Schmitzm-commits mailing list