logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: Unused name arg in ConfigurationFactory.getConfiguration(LoggerContext, String, URI)
Date Fri, 26 Aug 2016 04:48:46 GMT
It is used in 

private Configuration getConfiguration(final LoggerContext loggerContext, final boolean isTest,
final String name)
Ralph


> On Aug 25, 2016, at 8:51 PM, Gary Gregory <garydgregory@gmail.com> wrote:
> 
> Hi All,
> 
> In the API:
> 
> org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(LoggerContext,
String, URI)
> 
> The name arg is not used but the API is reimplemented by subclasses but it does not seem
to be used except in a unit test.
> 
> Is the fact that it is not used a bug or just left over cruft? Cruft that we could prune.
> 
> Thank you,
> Gary
> 
> 
> 
> -- 
> E-Mail: garydgregory@gmail.com <mailto:garydgregory@gmail.com> | ggregory@apache.org
 <mailto:ggregory@apache.org>
> Java Persistence with Hibernate, Second Edition <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com <http://garygregory.wordpress.com/> 
> Home: http://garygregory.com/ <http://garygregory.com/>
> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>

Mime
View raw message