"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "log4j-core/src/main/java/org/apache/logging/log4j/core/appender/AbstractManager.java" between
apache-log4j-2.11.1-src.tar.gz and apache-log4j-2.11.2-src.tar.gz

About: Apache Log4j 2 is a logging library for Java. Source distribution (Java).

AbstractManager.java  (apache-log4j-2.11.1-src):AbstractManager.java  (apache-log4j-2.11.2-src)
skipping to change at line 167 skipping to change at line 167
*/ */
protected static <M extends AbstractManager> M narrow(final Class<M> narrowC lass, final AbstractManager manager) { protected static <M extends AbstractManager> M narrow(final Class<M> narrowC lass, final AbstractManager manager) {
if (narrowClass.isAssignableFrom(manager.getClass())) { if (narrowClass.isAssignableFrom(manager.getClass())) {
return (M) manager; return (M) manager;
} }
throw new ConfigurationException( throw new ConfigurationException(
"Configuration has multiple incompatible Appenders pointing to t he same resource '" + "Configuration has multiple incompatible Appenders pointing to t he same resource '" +
manager.getName() + "'"); manager.getName() + "'");
} }
protected static StatusLogger logger() {
return StatusLogger.getLogger();
}
/** /**
* May be overridden by managers to perform processing while the manager is being released and the * May be overridden by managers to perform processing while the manager is being released and the
* lock is held. A timeout is passed for implementors to use as they see fit . * lock is held. A timeout is passed for implementors to use as they see fit .
* @param timeout timeout * @param timeout timeout
* @param timeUnit timeout time unit * @param timeUnit timeout time unit
* @return true if all resources were closed normally, false otherwise. * @return true if all resources were closed normally, false otherwise.
*/ */
protected boolean releaseSub(final long timeout, final TimeUnit timeUnit) { protected boolean releaseSub(final long timeout, final TimeUnit timeUnit) {
// This default implementation does nothing. // This default implementation does nothing.
return true; return true;
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)