summaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'vespaclient-container-plugin')
-rwxr-xr-xvespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/GetSearcherTestCase.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/vespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/GetSearcherTestCase.java b/vespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/GetSearcherTestCase.java
index 8da09bc78ad..2424ce596a3 100755
--- a/vespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/GetSearcherTestCase.java
+++ b/vespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/GetSearcherTestCase.java
@@ -15,7 +15,6 @@ import com.yahoo.documentapi.messagebus.protocol.GetDocumentMessage;
import com.yahoo.documentapi.messagebus.protocol.GetDocumentReply;
import com.yahoo.feedapi.FeedContext;
import com.yahoo.feedapi.MessagePropertyProcessor;
-import com.yahoo.java7compat.Util;
import com.yahoo.messagebus.Message;
import com.yahoo.messagebus.routing.Route;
import com.yahoo.prelude.templates.SearchRendererAdaptor;
@@ -431,9 +430,9 @@ public class GetSearcherTestCase {
"<errors>\n" +
"<error type=\"searcher\" code=\"3\" message=\"Illegal query: " +
"java.lang.IllegalArgumentException: No enum const" +
- (Util.isJava7Compatible() ? "ant " : " class ") +
+ "ant " +
"com.yahoo.documentapi.messagebus.protocol.DocumentProtocol" +
- (Util.isJava7Compatible() ? "." : "$") +
+ "." +
"Priority.onkel_jubalon\"/>\n" +
"</errors>\n" +
"</result>\n", result);