openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awh...@apache.org
Subject svn commit: r487421 - /incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
Date Fri, 15 Dec 2006 01:38:45 GMT
Author: awhite
Date: Thu Dec 14 17:38:44 2006
New Revision: 487421

URL: http://svn.apache.org/viewvc?view=rev&rev=487421
Log: (empty)

Modified:
    incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java

Modified: incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java?view=diff&rev=487421&r1=487420&r2=487421
==============================================================================
--- incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
(original)
+++ incubator/openjpa/trunk/openjpa-persistence/src/main/java/org/apache/openjpa/persistence/EntityManagerImpl.java
Thu Dec 14 17:38:44 2006
@@ -977,11 +977,11 @@
     }
 
     public void close() {
+        assertOpen();
         _broker.close();
     }
 
     public boolean isOpen() {
-        assertOpen();
         return !_broker.isCloseInvoked();
     }
 



Mime
View raw message