cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r449531 - /incubator/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/DataRowStore.java
Date Mon, 25 Sep 2006 00:18:54 GMT
Author: aadamchik
Date: Sun Sep 24 17:18:53 2006
New Revision: 449531

URL: http://svn.apache.org/viewvc?view=rev&rev=449531
Log:
CAY-565 - synchronizing query lists

Modified:
    incubator/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/DataRowStore.java

Modified: incubator/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/DataRowStore.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/DataRowStore.java?view=diff&rev=449531&r1=449530&r2=449531
==============================================================================
--- incubator/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/DataRowStore.java
(original)
+++ incubator/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/access/DataRowStore.java
Sun Sep 24 17:18:53 2006
@@ -450,14 +450,14 @@
     /**
      * Registers a list of snapshots with internal cache, using a String key.
      */
-    public void cacheSnapshots(String key, List snapshots) {
+    public synchronized void cacheSnapshots(String key, List snapshots) {
         snapshotLists.put(key, snapshots);
     }
 
     /**
      * Returns a list of previously cached snapshots.
      */
-    public List getCachedSnapshots(String key) {
+    public synchronized List getCachedSnapshots(String key) {
         if (key == null) {
             return null;
         }



Mime
View raw message