You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by br...@apache.org on 2004/03/08 21:52:02 UTC
cvs commit: db-ojb/src/java/org/apache/ojb/broker/cache CacheDistributor.java
brj 2004/03/08 12:52:02
Modified: src/java/org/apache/ojb/broker/cache CacheDistributor.java
Log:
minor refactorings
Revision Changes Path
1.5 +5 -5 db-ojb/src/java/org/apache/ojb/broker/cache/CacheDistributor.java
Index: CacheDistributor.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/cache/CacheDistributor.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- CacheDistributor.java 4 Jan 2004 18:27:31 -0000 1.4
+++ CacheDistributor.java 8 Mar 2004 20:52:02 -0000 1.5
@@ -121,7 +121,7 @@
logger.info("Use property 'descriptorBasedCaches' is set '"+descriptorBasedCaches+"'");
}
- private ObjectCache prepareAndAddCache(PersistenceBroker broker,
+ private ObjectCache prepareAndAddCache(PersistenceBroker aBroker,
ObjectCacheDescriptor ocd, Object key)
{
ObjectCache cache;
@@ -135,19 +135,19 @@
else
{
logger.info("Create new ObjectCacheImplementation for '"+key+"'");
- cache = createObjectCache(broker, ocd);
+ cache = createObjectCache(aBroker, ocd);
caches.put(key, cache);
}
return cache;
}
- private ObjectCache createObjectCache(PersistenceBroker broker, ObjectCacheDescriptor ocd)
+ private ObjectCache createObjectCache(PersistenceBroker aBroker, ObjectCacheDescriptor ocd)
{
ObjectCache cache = null;
try
{
cache = ObjectCacheFactory.getInstance()
- .createNewCacheInstance(ocd.getObjectCache(), broker, ocd.getConfigurationProperties());
+ .createNewCacheInstance(ocd.getObjectCache(), aBroker, ocd.getConfigurationProperties());
}
catch (Exception e)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org