Dear Oleg
thanks for your very appreciated work!
Markus
Am 09.06.2016 um 09:56 schrieb Oleg Kalnichevski:
On Wed, 2016-06-08 at 19:46 +0200, [email protected] wrote:
Testing httpcore-4.4.5
This example below will not compile anymore. Is it safe to omit
@Immutable from import org.apache.http.annotation.Immutable?
Sorry for bothering, thanks for considering!
Markus
Hi Markus
Yes, it is safe to remove that annotation. It and all other annotations
from the org.apache.http.annotation package are used for API
documentation only.
Oleg
import org.apache.http.annotation.Immutable;
import org.apache.http.cookie.Cookie;
import org.apache.http.cookie.CookieAttributeHandler;
import org.apache.http.cookie.CookieOrigin;
import org.apache.http.cookie.MalformedCookieException;
/**
*
* @since 4.0
*/
@Immutable
public abstract class AbstractCookieAttributeHandler implements
CookieAttributeHandler {
public void validate(final Cookie cookie, final CookieOrigin origin)
throws MalformedCookieException {
// Do nothing
}
public boolean match(final Cookie cookie, final CookieOrigin origin) {
// Always match
return true;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]