diff options
Diffstat (limited to 'documentapi/src/main/java/com/yahoo/documentapi/DocumentIdResponse.java')
-rw-r--r-- | documentapi/src/main/java/com/yahoo/documentapi/DocumentIdResponse.java | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/documentapi/src/main/java/com/yahoo/documentapi/DocumentIdResponse.java b/documentapi/src/main/java/com/yahoo/documentapi/DocumentIdResponse.java index 9625a7c92ad..68e43edf082 100644 --- a/documentapi/src/main/java/com/yahoo/documentapi/DocumentIdResponse.java +++ b/documentapi/src/main/java/com/yahoo/documentapi/DocumentIdResponse.java @@ -31,30 +31,6 @@ public class DocumentIdResponse extends Response { } /** - * Creates a response containing a textual message - * - * @param textMessage the message to encapsulate in the Response - * @param success true if the response represents a successful call - */ - @Deprecated(since = "7") // TODO: Remove on Vespa 8 - public DocumentIdResponse(long requestId, String textMessage, boolean success) { - this(requestId, null, textMessage, success ? Outcome.SUCCESS : Outcome.ERROR); - } - - /** - * Creates a response containing a textual message and/or a document id - * - * @param documentId the DocumentId to encapsulate in the Response - * @param textMessage the message to encapsulate in the Response - * @param success true if the response represents a successful call - */ - @Deprecated(since = "7") // TODO: Remove on Vespa 8 - public DocumentIdResponse(long requestId, DocumentId documentId, String textMessage, boolean success) { - this(requestId, documentId, textMessage, success ? Outcome.SUCCESS : Outcome.ERROR); - } - - - /** * Creates a response containing a textual message and/or a document id * * @param documentId the DocumentId to encapsulate in the Response |