"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "log4j-api/src/main/java/org/apache/logging/log4j/spi/Provider.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).

Provider.java  (apache-log4j-2.11.1-src):Provider.java  (apache-log4j-2.11.2-src)
skipping to change at line 222 skipping to change at line 222
if (classLoader == null || (loader = classLoader.get()) == null) { if (classLoader == null || (loader = classLoader.get()) == null) {
result.append(", classLoader=null(not reachable)"); result.append(", classLoader=null(not reachable)");
} else { } else {
result.append(", classLoader=").append(loader); result.append(", classLoader=").append(loader);
} }
result.append("]"); result.append("]");
return result.toString(); return result.toString();
} }
@Override @Override
public boolean equals(Object o) { public boolean equals(final Object o) {
if (this == o) { if (this == o) {
return true; return true;
} }
if (o == null || getClass() != o.getClass()) { if (o == null || getClass() != o.getClass()) {
return false; return false;
} }
Provider provider = (Provider) o; final Provider provider = (Provider) o;
if (priority != null ? !priority.equals(provider.priority) : provider.pr iority != null) { if (priority != null ? !priority.equals(provider.priority) : provider.pr iority != null) {
return false; return false;
} }
if (className != null ? !className.equals(provider.className) : provider .className != null) { if (className != null ? !className.equals(provider.className) : provider .className != null) {
return false; return false;
} }
if (loggerContextFactoryClass != null ? !loggerContextFactoryClass.equal s(provider.loggerContextFactoryClass) : provider.loggerContextFactoryClass != nu ll) { if (loggerContextFactoryClass != null ? !loggerContextFactoryClass.equal s(provider.loggerContextFactoryClass) : provider.loggerContextFactoryClass != nu ll) {
return false; return false;
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

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