commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Sahnwaldt (JIRA)" <j...@apache.org>
Subject [jira] Created: (LOGGING-127) don't use setDefaultUseCaches() but setUseCaches() in LogFactory.getProperties()
Date Sat, 20 Sep 2008 11:17:44 GMT
don't use setDefaultUseCaches() but setUseCaches() in LogFactory.getProperties() 
---------------------------------------------------------------------------------

                 Key: LOGGING-127
                 URL: https://issues.apache.org/jira/browse/LOGGING-127
             Project: Commons Logging
          Issue Type: Bug
    Affects Versions: Nightly Builds, 2.0
            Reporter: Christopher Sahnwaldt


The fix for LOGGING-126 introduced a call to URLConnection.setDefaultUseCaches() in LogFactory.getProperties().
This call should be changed to URLConnection.setUseCaches(), because URLConnection.setDefaultUseCaches()
sets a static variable whose value affects the whole system, while URLConnection.setUseCaches()
only affects its target instance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message