You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2009/10/08 08:44:16 UTC

svn commit: r823067 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java

Author: aadamchik
Date: Thu Oct  8 06:44:15 2009
New Revision: 823067

URL: http://svn.apache.org/viewvc?rev=823067&view=rev
Log:
adding missing 'this'. The problem could potentially lead to a failure to unregister ObjectStore listener

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

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java?rev=823067&r1=823066&r2=823067&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java (original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/ObjectStore.java Thu Oct  8 06:44:15 2009
@@ -291,8 +291,8 @@
             return;
         }
 
-        if (this.dataRowCache != null && dataRowCache.getEventManager() != null) {
-            dataRowCache.getEventManager().removeListener(
+        if (this.dataRowCache != null && this.dataRowCache.getEventManager() != null) {
+            this.dataRowCache.getEventManager().removeListener(
                     this,
                     this.dataRowCache.getSnapshotEventSubject());
         }