You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sk...@apache.org on 2008/09/20 18:33:52 UTC
svn commit: r697387 -
/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
Author: skitching
Date: Sat Sep 20 09:33:51 2008
New Revision: 697387
URL: http://svn.apache.org/viewvc?rev=697387&view=rev
Log:
LOGGING-127: Fix issue introduced in LOGGING-126 - use setUseCache, not setDefaultUseCache
Thanks to Christopher Sahnwaldt for the report.
Modified:
commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
Modified: commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java?rev=697387&r1=697386&r2=697387&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java (original)
+++ commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java Sat Sep 20 09:33:51 2008
@@ -1427,7 +1427,7 @@
// default behaviour of java is to cache file handles, and
// this "locks" files, preventing hot-redeploy on windows.
URLConnection connection = url.openConnection();
- connection.setDefaultUseCaches(false);
+ connection.setUseCaches(false);
stream = connection.getInputStream();
if (stream != null) {
Properties props = new Properties();