From 34a85971e9b05fd253b18677548de859d324529b Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Wed, 19 Dec 2018 15:34:07 +0100 Subject: Remove Query.getSessionId(boolean) --- .../src/main/java/com/yahoo/search/Query.java | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'container-search/src/main/java/com/yahoo/search/Query.java') diff --git a/container-search/src/main/java/com/yahoo/search/Query.java b/container-search/src/main/java/com/yahoo/search/Query.java index b4adca2cef1..73335037b94 100644 --- a/container-search/src/main/java/com/yahoo/search/Query.java +++ b/container-search/src/main/java/com/yahoo/search/Query.java @@ -982,22 +982,6 @@ public class Query extends com.yahoo.processing.Request implements Cloneable { */ public HttpRequest getHttpRequest() { return httpRequest; } - /** - * Returns the unique and stable session id of this query. - * - * @param create if true this is created if not already set - * @return the session id of this query, or null if not set and create is false - * @deprecated use getSessionId() or getSessionId(serverId) instead - */ - @Deprecated - public SessionId getSessionId(boolean create) { - if ( ! create) return getSessionId(); - - if (requestId == null) - requestId = UniqueRequestId.next(); - return new SessionId(requestId, getRanking().getProfile()); - } - /** Returns the session id of this query, or null if none is assigned */ public SessionId getSessionId() { if (requestId == null) return null; -- cgit v1.2.3