1
0

LOGGING-127: Fix issue introduced in LOGGING-126 - use setUseCache, not setDefaultUseCache

Thanks to Christopher Sahnwaldt for the report.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@697387 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Simon Kitching
2008-09-20 16:33:51 +00:00
parent 487dcaadea
commit 36c73c13e2

View File

@@ -1427,7 +1427,7 @@ public abstract class LogFactory {
// 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();