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

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]

Reply via email to