commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LOGGING-127) don't use setDefaultUseCaches() but setUseCaches() in LogFactory.getProperties()
Date Tue, 29 Dec 2009 17:14:29 GMT

     [ https://issues.apache.org/jira/browse/LOGGING-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Lundberg closed LOGGING-127.
-----------------------------------

    Assignee: Simon Kitching

> 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
>            Assignee: Simon Kitching
>             Fix For: 1.1.2
>
>
> 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