openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r421688 - in /incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa: datacache/QueryCacheStoreQuery.java event/RemoteCommitEventManager.java kernel/StateManagerImpl.java
Date Thu, 13 Jul 2006 19:04:14 GMT
Author: pcl
Date: Thu Jul 13 12:04:14 2006
New Revision: 421688

URL: http://svn.apache.org/viewvc?rev=421688&view=rev
Log:
some visibility fixes

Modified:
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/QueryCacheStoreQuery.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/RemoteCommitEventManager.java
    incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/QueryCacheStoreQuery.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/QueryCacheStoreQuery.java?rev=421688&r1=421687&r2=421688&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/QueryCacheStoreQuery.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/QueryCacheStoreQuery.java
Thu Jul 13 12:04:14 2006
@@ -52,11 +52,9 @@
  * @author Patrick Linskey
  * @since 2.5.0
  */
-class QueryCacheStoreQuery
+public class QueryCacheStoreQuery
     implements StoreQuery {
 
-    private static Object NULL = new Object();
-
     private final StoreQuery _query;
     private final QueryCache _cache;
     private StoreContext _sctx;
@@ -456,7 +454,7 @@
      * Result list implementation for a cached query result.  Package-protected
      * for testing.
      */
-    static class CachedList
+    public static class CachedList
         extends AbstractList
         implements Serializable {
 

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/RemoteCommitEventManager.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/RemoteCommitEventManager.java?rev=421688&r1=421687&r2=421688&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/RemoteCommitEventManager.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/event/RemoteCommitEventManager.java
Thu Jul 13 12:04:14 2006
@@ -24,7 +24,6 @@
 import org.apache.openjpa.conf.OpenJPAConfiguration;
 import org.apache.openjpa.kernel.Broker;
 import org.apache.openjpa.kernel.OpenJPAStateManager;
-import org.apache.openjpa.lib.log.Log;
 import org.apache.openjpa.lib.util.Closeable;
 import org.apache.openjpa.lib.util.Localizer;
 import org.apache.openjpa.lib.util.concurrent.AbstractConcurrentEventManager;
@@ -48,7 +47,6 @@
         (RemoteCommitEventManager.class);
 
     private final RemoteCommitProvider _provider;
-    private final Log _log;
     private boolean _transmitPersIds = false;
 
     /**
@@ -58,9 +56,7 @@
         _provider = conf.newRemoteCommitProviderInstance();
         if (_provider != null) {
             _provider.setRemoteCommitEventManager(this);
-            _log = conf.getLog(OpenJPAConfiguration.LOG_RUNTIME);
-        } else
-            _log = null;
+        }
     }
 
     /**

Modified: incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java?rev=421688&r1=421687&r2=421688&view=diff
==============================================================================
--- incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
(original)
+++ incubator/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/kernel/StateManagerImpl.java
Thu Jul 13 12:04:14 2006
@@ -69,7 +69,7 @@
  *
  * @author Abe White
  */
-class StateManagerImpl
+public class StateManagerImpl
     implements OpenJPAStateManager {
 
     public static final int LOAD_FGS = 0;
@@ -140,7 +140,7 @@
     /**
      * Constructor; supply id, type metadata, and owning persistence manager.
      */
-    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