"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/main/java/org/apache/http/conn/scheme/SchemeSocketFactoryAdaptor.java" between
httpcomponents-client-4.5.6-src.tar.gz and httpcomponents-client-4.5.7-src.tar.gz

About: HttpComponents is an Apache project responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols. Java sources.

SchemeSocketFactoryAdaptor.java  (httpcomponents-client-4.5.6-src):SchemeSocketFactoryAdaptor.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 91 skipping to change at line 91
} }
@Override @Override
public boolean equals(final Object obj) { public boolean equals(final Object obj) {
if (obj == null) { if (obj == null) {
return false; return false;
} }
if (this == obj) { if (this == obj) {
return true; return true;
} }
if (obj instanceof SchemeSocketFactoryAdaptor) { return obj instanceof SchemeSocketFactoryAdaptor
return this.factory.equals(((SchemeSocketFactoryAdaptor)obj).factory ? this.factory.equals(((SchemeSocketFactoryAdaptor) obj)
); .factory)
} else { : this.factory.equals(obj);
return this.factory.equals(obj);
}
} }
@Override @Override
public int hashCode() { public int hashCode() {
return this.factory.hashCode(); return this.factory.hashCode();
} }
} }
 End of changes. 1 change blocks. 
6 lines changed or deleted 4 lines changed or added

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