cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1538327 - /cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java
Date Sun, 03 Nov 2013 08:32:56 GMT
Author: aadamchik
Date: Sun Nov  3 08:32:56 2013
New Revision: 1538327

URL: http://svn.apache.org/r1538327
Log:
unused code - this is in a factory now

Modified:
    cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java

Modified: cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java?rev=1538327&r1=1538326&r2=1538327&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java
(original)
+++ cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java
Sun Nov  3 08:32:56 2013
@@ -52,8 +52,6 @@ import org.apache.cayenne.reflect.ClassD
 import org.apache.cayenne.reflect.PropertyVisitor;
 import org.apache.cayenne.reflect.ToManyProperty;
 import org.apache.cayenne.reflect.ToOneProperty;
-import org.apache.commons.collections.map.AbstractReferenceMap;
-import org.apache.commons.collections.map.ReferenceMap;
 
 /**
  * ObjectStore stores objects using their ObjectId as a key. It works as a dedicated
@@ -65,16 +63,6 @@ import org.apache.commons.collections.ma
  */
 public class ObjectStore implements Serializable, SnapshotEventListener, GraphManager {
 
-    /**
-     * Factory method to create default Map for storing registered objects.
-     * 
-     * @since 3.0
-     * @return a map with hard referenced keys and weak referenced values.
-     */
-    static Map<Object, Persistent> createObjectMap() {
-        return new ReferenceMap(AbstractReferenceMap.HARD, AbstractReferenceMap.WEAK);
-    }
-
     protected Map<Object, Persistent> objectMap;
     protected Map<Object, ObjectDiff> changes;
 



Mime
View raw message