openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1455186 - /openjpa/branches/2.2.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Date Mon, 11 Mar 2013 15:35:06 GMT
Author: curtisr7
Date: Mon Mar 11 15:35:06 2013
New Revision: 1455186

URL: http://svn.apache.org/r1455186
Log:
OPENJPA-2347 : Make StateManagerImpl more extensibile. Merged from trunk.

Modified:
    openjpa/branches/2.2.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java

Modified: openjpa/branches/2.2.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java?rev=1455186&r1=1455185&r2=1455186&view=diff
==============================================================================
--- openjpa/branches/2.2.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
(original)
+++ openjpa/branches/2.2.x/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Mon Mar 11 15:35:06 2013
@@ -82,8 +82,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;
@@ -108,8 +107,7 @@ public class StateManagerImpl
     private static final int FLAG_DETACHING = 2 << 16;
     private static final int FLAG_EMBED_DEREF = 2 << 17;
 
-    private static final Localizer _loc = Localizer.forPackage
-        (StateManagerImpl.class);
+    private static final Localizer _loc = Localizer.forPackage(StateManagerImpl.class);
 
     // information about the instance
     private transient PersistenceCapable _pc = null;
@@ -133,8 +131,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