db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject [db-jdo] 19/43: JDO-376: need to call closePM on correct pm instance
Date Fri, 07 May 2021 23:12:01 GMT
This is an automated email from the ASF dual-hosted git repository.

clr pushed a commit to branch origin/2.0.1
in repository https://gitbox.apache.org/repos/asf/db-jdo.git

commit a54fbbf9b80855e5d1801fe0b589881369ff9627
Author: Michael Bouschen <mbo@apache.org>
AuthorDate: Sun Apr 30 13:46:53 2006 +0000

    JDO-376: need to call closePM on correct pm instance
---
 ...letePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tck20/src/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java
b/tck20/src/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java
index 3633fbf..6e3f28d 100644
--- a/tck20/src/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java
+++ b/tck20/src/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java
@@ -74,7 +74,7 @@ public class DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager
e
         }
         finally {
             cleanupPM(pm2);
-            pm = null;
+            pm2 = null;
             cleanupPM(pm);
             pm = null;
         }

Mime
View raw message