summaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2016-11-18 16:26:34 +0100
committerJon Bratseth <bratseth@yahoo-inc.com>2016-11-18 16:26:34 +0100
commit31330693c68c66f42c27405899d2da42b6fcc585 (patch)
treeed49979af1553800da844b19bbf1a69e8a0d12e3 /vespaclient-container-plugin
parent11fea5fe5f272e1287cf2ece52db49c142def9d6 (diff)
Suppress deprecation warnings
Diffstat (limited to 'vespaclient-container-plugin')
-rwxr-xr-xvespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java1
-rwxr-xr-xvespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/GetSearcherTestCase.java1
-rw-r--r--vespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/VisitorSearcherTestCase.java1
3 files changed, 3 insertions, 0 deletions
diff --git a/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java b/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java
index eb4e98bff30..045df5558e5 100755
--- a/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java
+++ b/vespaclient-container-plugin/src/main/java/com/yahoo/storage/searcher/GetSearcher.java
@@ -58,6 +58,7 @@ import java.util.zip.GZIPInputStream;
* For specifiying the returned HTTP header content type for a returned
* document field's content. field must also be specified.
*/
+@SuppressWarnings("deprecation")
public class GetSearcher extends Searcher {
private static final Logger log = Logger.getLogger(GetSearcher.class.getName());
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 1e39b9766b1..d762797765b 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
@@ -41,6 +41,7 @@ import java.util.zip.GZIPOutputStream;
import static org.junit.Assert.*;
+@SuppressWarnings("deprecation")
public class GetSearcherTestCase {
private DocumentTypeManager docMan = null;
diff --git a/vespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/VisitorSearcherTestCase.java b/vespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/VisitorSearcherTestCase.java
index 4b1c69c73e7..a8637c8a383 100644
--- a/vespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/VisitorSearcherTestCase.java
+++ b/vespaclient-container-plugin/src/test/java/com/yahoo/storage/searcher/VisitorSearcherTestCase.java
@@ -38,6 +38,7 @@ import static org.mockito.Matchers.anyLong;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
+@SuppressWarnings("deprecation")
public class VisitorSearcherTestCase {
private DocumentTypeManager docMan = null;