openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From curti...@apache.org
Subject svn commit: r1292044 - /openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Date Tue, 21 Feb 2012 21:39:49 GMT
Author: curtisr7
Date: Tue Feb 21 21:39:49 2012
New Revision: 1292044

URL: http://svn.apache.org/viewvc?rev=1292044&view=rev
Log:
OPENJPA-2137: Make some StateManagerImpl fields protected to allow for greater extensibility.

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=1292044&r1=1292043&r2=1292044&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 Feb 21 21:39:49 2012
@@ -115,7 +115,7 @@ public class StateManagerImpl
     // information about the instance
     private transient PersistenceCapable _pc = null;
     private transient ClassMetaData _meta = null;
-    private BitSet _loaded = null;
+    protected BitSet _loaded = null;
     private BitSet _dirty = null;
     private BitSet _flush = null;
     private int _flags = 0;
@@ -130,7 +130,7 @@ public class StateManagerImpl
 
     // the managing persistence manager and lifecycle state
     private transient BrokerImpl _broker; // this is serialized specially
-    private PCState _state = PCState.TRANSIENT;
+    protected PCState _state = PCState.TRANSIENT;
 
     // the current and last loaded version indicators, and the lock object
     private Object _version = null;
@@ -167,8 +167,7 @@ public class StateManagerImpl
     /**
      * Constructor; supply id, type metadata, and owning persistence manager.
      */
-    protected StateManagerImpl(Object id, ClassMetaData meta, 
-        BrokerImpl broker) {
+    protected StateManagerImpl(Object id, ClassMetaData meta, BrokerImpl broker) {
         _id = id;
         _meta = meta;
         _broker = broker;



Mime
View raw message