add class information to exception -fix compilation error
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / org / hibernate / collection / internal / AbstractPersistentCollection.java
index 08a6b45ea9977f9d960a470bca02aee513511521..86f16585e6de335c5de9a452a2960cbd34a68a68 100644 (file)
@@ -1430,7 +1430,7 @@ public abstract class AbstractPersistentCollection implements Serializable, Pers
                                }
                                afterInitialize();
 
-                               Class<?> clazz = getClass();
+                               clazz = getClass();
                                if (clazz != null) {
                                        //CollectionField cf = cachedCommonService.getCollectionField(col);
                                        //cachedCommonService.updatePersistentCollection(cf);