diff options
Diffstat (limited to 'vespaclient-java')
3 files changed, 3 insertions, 0 deletions
diff --git a/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java b/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java index 642805f9927..950ecd799e8 100644 --- a/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java +++ b/vespaclient-java/src/test/java/com/yahoo/vespafeeder/VespaFeederTestCase.java @@ -32,6 +32,7 @@ import static org.junit.Assert.assertTrue; public class VespaFeederTestCase { + @SuppressWarnings("deprecation") @Rule public ExpectedException exception = ExpectedException.none(); diff --git a/vespaclient-java/src/test/java/com/yahoo/vespaget/CommandLineOptionsTest.java b/vespaclient-java/src/test/java/com/yahoo/vespaget/CommandLineOptionsTest.java index b7fd1f535f0..6af2344e36e 100644 --- a/vespaclient-java/src/test/java/com/yahoo/vespaget/CommandLineOptionsTest.java +++ b/vespaclient-java/src/test/java/com/yahoo/vespaget/CommandLineOptionsTest.java @@ -36,6 +36,7 @@ public class CommandLineOptionsTest { } }; + @SuppressWarnings("deprecation") @Rule public final ExpectedException exception = ExpectedException.none(); diff --git a/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java b/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java index b0207c7620b..098319f24dc 100644 --- a/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java +++ b/vespaclient-java/src/test/java/com/yahoo/vespaget/DocumentRetrieverTest.java @@ -62,6 +62,7 @@ public class DocumentRetrieverTest { private PrintStream oldOut; private PrintStream oldErr; + @SuppressWarnings("deprecation") @Rule public final ExpectedException exception = ExpectedException.none(); |