aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/test/java/com/yahoo/document/annotation/AnnotationTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'document/src/test/java/com/yahoo/document/annotation/AnnotationTestCase.java')
-rw-r--r--document/src/test/java/com/yahoo/document/annotation/AnnotationTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/document/src/test/java/com/yahoo/document/annotation/AnnotationTestCase.java b/document/src/test/java/com/yahoo/document/annotation/AnnotationTestCase.java
index de674aa3cca..cb04ca1de62 100644
--- a/document/src/test/java/com/yahoo/document/annotation/AnnotationTestCase.java
+++ b/document/src/test/java/com/yahoo/document/annotation/AnnotationTestCase.java
@@ -115,11 +115,11 @@ public class AnnotationTestCase extends AbstractTypesTest {
private void serializeAndAssert(Annotation annotation) {
GrowableByteBuffer buffer = new GrowableByteBuffer(1024);
- DocumentSerializer serializer = DocumentSerializerFactory.create42(buffer);
+ DocumentSerializer serializer = DocumentSerializerFactory.create6(buffer);
serializer.write(annotation);
buffer.flip();
- DocumentDeserializer deserializer = DocumentDeserializerFactory.create42(man, buffer);
+ DocumentDeserializer deserializer = DocumentDeserializerFactory.create6(man, buffer);
Annotation annotation2 = new Annotation();
deserializer.read(annotation2);