diff options
Diffstat (limited to 'vespalog/src/test/java/com/yahoo')
4 files changed, 4 insertions, 3 deletions
diff --git a/vespalog/src/test/java/com/yahoo/log/LogLevelTestCase.java b/vespalog/src/test/java/com/yahoo/log/LogLevelTestCase.java index fe34c219e19..b377bd72f3a 100644 --- a/vespalog/src/test/java/com/yahoo/log/LogLevelTestCase.java +++ b/vespalog/src/test/java/com/yahoo/log/LogLevelTestCase.java @@ -14,6 +14,7 @@ import static org.junit.Assert.*; * * @author Bjorn Borud */ +@SuppressWarnings("deprecation") public class LogLevelTestCase { /** diff --git a/vespalog/src/test/java/com/yahoo/log/LogSetupTestCase.java b/vespalog/src/test/java/com/yahoo/log/LogSetupTestCase.java index a8dc6e3e8e9..354892e7d37 100644 --- a/vespalog/src/test/java/com/yahoo/log/LogSetupTestCase.java +++ b/vespalog/src/test/java/com/yahoo/log/LogSetupTestCase.java @@ -25,7 +25,7 @@ import static org.junit.Assert.assertTrue; * * @author Bjorn Borud */ -@SuppressWarnings("removal") +@SuppressWarnings({"deprecation", "removal"}) public class LogSetupTestCase { // For testing zookeeper log records protected static LogRecord zookeeperLogRecord; diff --git a/vespalog/src/test/java/com/yahoo/log/VespaFormatterTestCase.java b/vespalog/src/test/java/com/yahoo/log/VespaFormatterTestCase.java index 3a986ccede3..95a06ab2535 100644 --- a/vespalog/src/test/java/com/yahoo/log/VespaFormatterTestCase.java +++ b/vespalog/src/test/java/com/yahoo/log/VespaFormatterTestCase.java @@ -19,7 +19,7 @@ import static org.junit.Assert.fail; /** * @author Bjorn Borud */ -@SuppressWarnings("removal") +@SuppressWarnings({"deprecation", "removal"}) public class VespaFormatterTestCase { private String hostname; diff --git a/vespalog/src/test/java/com/yahoo/log/VespaLevelControllerRepoTest.java b/vespalog/src/test/java/com/yahoo/log/VespaLevelControllerRepoTest.java index 57f5424f4c2..83db5a027a4 100644 --- a/vespalog/src/test/java/com/yahoo/log/VespaLevelControllerRepoTest.java +++ b/vespalog/src/test/java/com/yahoo/log/VespaLevelControllerRepoTest.java @@ -18,7 +18,7 @@ import static org.junit.Assert.assertTrue; * @author Ulf Lilleengen * @since 5.1 */ -@SuppressWarnings("removal") +@SuppressWarnings({"deprecation", "removal"}) public class VespaLevelControllerRepoTest { static int findControlString(RandomAccessFile f, String s) { |