"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/main/java-deprecated/org/apache/http/impl/cookie/BestMatchSpecFactory.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.

BestMatchSpecFactory.java  (httpcomponents-client-4.5.6-src):BestMatchSpecFactory.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 58 skipping to change at line 58
* @since 4.0 * @since 4.0
*/ */
@Contract(threading = ThreadingBehavior.IMMUTABLE) @Contract(threading = ThreadingBehavior.IMMUTABLE)
@Deprecated @Deprecated
public class BestMatchSpecFactory implements CookieSpecFactory, CookieSpecProvid er { public class BestMatchSpecFactory implements CookieSpecFactory, CookieSpecProvid er {
private final CookieSpec cookieSpec; private final CookieSpec cookieSpec;
public BestMatchSpecFactory(final String[] datepatterns, final boolean oneHe ader) { public BestMatchSpecFactory(final String[] datepatterns, final boolean oneHe ader) {
super(); super();
this.cookieSpec = new BestMatchSpec(datepatterns, oneHeader);; this.cookieSpec = new BestMatchSpec(datepatterns, oneHeader);
} }
public BestMatchSpecFactory() { public BestMatchSpecFactory() {
this(null, false); this(null, false);
} }
@Override @Override
public CookieSpec newInstance(final HttpParams params) { public CookieSpec newInstance(final HttpParams params) {
if (params != null) { if (params != null) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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