code cleaning
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / java / org / hibernate / collection / internal / AbstractPersistentCollection.java
index 637caf3b12b42853b55f31179c9a5a8e7d8b9db0..6dbfa17a9c010f91e2c656c50bb19db7e91bff2a 100644 (file)
@@ -1432,9 +1432,7 @@ public abstract class AbstractPersistentCollection implements Serializable, Pers
 
                                clazz = getClass();
                                if (clazz != null) {
-                                       //CollectionField cf = cachedCommonService.getCollectionField(col);
-                                       //cachedCommonService.updatePersistentCollection(cf);
-                                   collectionType = ProxyUtils.getCollectionType(obj, clazz);
+                                       collectionType = ProxyUtils.getCollectionType(obj, clazz);
                                    field = clazz.getDeclaredField(collectionType.toString());
                                        field.setAccessible(true);
                                        field.set(this, obj);