summaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-06-05 14:17:16 +0200
committergjoranv <gv@verizonmedia.com>2022-06-08 11:45:29 +0200
commit4ef9e51656a422d9a196ce5e7e6a00b1ba373952 (patch)
treeead13e915cc39df8b95679f173eb54541d7d0396 /vespaclient-container-plugin
parent7e4e4b0b0f9c4c763a764e97c3872b4e52e2e69d (diff)
Remove on Vespa 8
Diffstat (limited to 'vespaclient-container-plugin')
-rw-r--r--vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java b/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java
index 784575cd001..875ff3e5bf0 100644
--- a/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java
+++ b/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/ClientFeederV3.java
@@ -240,7 +240,6 @@ class ClientFeederV3 {
return message;
}
- @SuppressWarnings("removal") // TODO: Remove on Vespa 8
private void setMessageParameters(DocumentOperationMessageV3 msg, FeederSettings settings) {
msg.getMessage().setContext(new ReplyContext(msg.getOperationId(), feedReplies));
if (settings.traceLevel != null) {
@@ -249,9 +248,6 @@ class ClientFeederV3 {
if (settings.priority != null) {
try {
DocumentProtocol.Priority priority = DocumentProtocol.Priority.valueOf(settings.priority);
- if (msg.getMessage() instanceof DocumentMessage) {
- ((DocumentMessage) msg.getMessage()).setPriority(priority); // TODO: Remove on Vespa 8
- }
}
catch (IllegalArgumentException i) {
log.severe(i.getMessage());