commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r697387 - /commons/proper/logging/trunk/src/java/org/apache/commons/logging/LogFactory.java
Date Sat, 20 Sep 2008 16:33:52 GMT
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();



Mime
View raw message