summaryrefslogtreecommitdiffstats
path: root/document/src/test/java/com/yahoo/document/annotation/Bug6394548TestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/test/java/com/yahoo/document/annotation/Bug6394548TestCase.java')
-rw-r--r--document/src/test/java/com/yahoo/document/annotation/Bug6394548TestCase.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/document/src/test/java/com/yahoo/document/annotation/Bug6394548TestCase.java b/document/src/test/java/com/yahoo/document/annotation/Bug6394548TestCase.java
index 3ec858062be..424fd0018c8 100644
--- a/document/src/test/java/com/yahoo/document/annotation/Bug6394548TestCase.java
+++ b/document/src/test/java/com/yahoo/document/annotation/Bug6394548TestCase.java
@@ -17,6 +17,7 @@ import static org.junit.Assert.*;
public class Bug6394548TestCase {
@Test
+ @SuppressWarnings("deprecation")
public void testSerializeAndDeserializeMultipleAdjacentStructAnnotations() {
DocumentTypeManager manager = new DocumentTypeManager();
var sub = DocumentTypeManagerConfigurer.configure
@@ -65,6 +66,7 @@ public class Bug6394548TestCase {
assertEquals(annotationsBefore, annotationsAfter);
}
+ @SuppressWarnings("deprecation")
private String dumpAllAnnotations(SpanTree tree) {
ArrayList<String> tmp = new ArrayList<>();
for (Annotation anno : tree) {