notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
svn commit: r2662 - development/main/transit/core/handler/src/main/net/dpml/transit/cache
- From: mcconnell AT dpml.net
- To: notify-dpml AT lists.ibiblio.org
- Subject: svn commit: r2662 - development/main/transit/core/handler/src/main/net/dpml/transit/cache
- Date: Mon, 23 May 2005 16:50:17 +0000
Author: mcconnell AT dpml.net
Date: Mon May 23 16:50:14 2005
New Revision: 2662
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/cache/FileCacheHandler.java
Log:
Housekeeping.
Modified:
development/main/transit/core/handler/src/main/net/dpml/transit/cache/FileCacheHandler.java
==============================================================================
---
development/main/transit/core/handler/src/main/net/dpml/transit/cache/FileCacheHandler.java
(original)
+++
development/main/transit/core/handler/src/main/net/dpml/transit/cache/FileCacheHandler.java
Mon May 23 16:50:14 2005
@@ -136,7 +136,7 @@
prefs.addPreferenceChangeListener( this );
hostsNode.addNodeChangeListener( this );
- File cache = resolveCacheModely( prefs );
+ File cache = resolveCacheDirectory( prefs );
setLocalCacheDirectory( cache );
}
@@ -179,7 +179,7 @@
m_resourceHosts.put( key, hosts[i] );
}
- File cache = resolveCacheModely( props );
+ File cache = resolveCacheDirectory( props );
setLocalCacheDirectory( cache );
}
@@ -222,7 +222,7 @@
*
* @return the feature collection
*/
- protected File getLocalCacheModely()
+ protected File getLocalCacheDirectory()
{
return m_cacheDir;
}
@@ -430,7 +430,7 @@
* @param props the configuration properties
* @return the cache root directory
*/
- private File resolveCacheModely( Properties props )
+ private File resolveCacheDirectory( Properties props )
{
String defaultCache = "cache";
String fallback = Util.getProperty( props, CACHE_KEY, defaultCache );
@@ -443,7 +443,7 @@
*
* @return the cache directory
*/
- private File resolveCacheModely( Preferences cachePrefs )
+ private File resolveCacheDirectory( Preferences cachePrefs )
{
String path = cachePrefs.get( "location", "cache" );
String location = System.getProperty( CACHE_KEY, path );
@@ -541,7 +541,7 @@
Preferences prefs = event.getNode();
if( "location".equals( key ) )
{
- File cache = resolveCacheModely( prefs );
+ File cache = resolveCacheDirectory( prefs );
setLocalCacheDirectory( cache );
}
}
- svn commit: r2662 - development/main/transit/core/handler/src/main/net/dpml/transit/cache, mcconnell, 05/23/2005
Archive powered by MHonArc 2.6.24.