diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java b/jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java index 6289b4eac35..528c84579af 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/session/AbstractSessionCache.java @@ -22,7 +22,6 @@ import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.function.Function; - import javax.servlet.http.HttpServletRequest; import org.eclipse.jetty.util.StringUtil; @@ -494,9 +493,10 @@ public abstract class AbstractSessionCache extends ContainerLifeCycle implements } /** - * @deprecated + * @deprecated use {@link #release(String, Session)} instead */ @Override + @Deprecated public void put(String id, Session session) throws Exception { release(id, session);