openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1452874 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Date Tue, 05 Mar 2013 16:13:15 GMT
Author: curtisr7
Date: Tue Mar  5 16:13:14 2013
New Revision: 1452874

URL: http://svn.apache.org/r1452874
Log:
OPENJPA-2347: Make StateManagerImpl more extensibile.

Modified:
    openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java

Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java?rev=1452874&r1=1452873&r2=1452874&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
(original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Tue Mar  5 16:13:14 2013
@@ -83,9 +83,7 @@ import org.apache.openjpa.util.UserExcep
  *
  * @author Abe White
  */
-public class StateManagerImpl
-    implements OpenJPAStateManager, Serializable {
-
+public class StateManagerImpl implements OpenJPAStateManager, Serializable {
     public static final int LOAD_FGS = 0;
     public static final int LOAD_ALL = 1;
     public static final int LOAD_SERIALIZE = 2;
@@ -134,8 +132,8 @@ public class StateManagerImpl
     protected PCState _state = PCState.TRANSIENT;
 
     // the current and last loaded version indicators, and the lock object
-    private Object _version = null;
-    private Object _loadVersion = null;
+    protected Object _version = null;
+    protected Object _loadVersion = null;
     private Object _lock = null;
     private int _readLockLevel = -1;
     private int _writeLockLevel = -1;



Mime
View raw message