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 |