diff options
Diffstat (limited to 'document/src/test/java/com/yahoo/document/serialization/VespaDocumentSerializerTestCase.java')
-rw-r--r-- | document/src/test/java/com/yahoo/document/serialization/VespaDocumentSerializerTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/test/java/com/yahoo/document/serialization/VespaDocumentSerializerTestCase.java b/document/src/test/java/com/yahoo/document/serialization/VespaDocumentSerializerTestCase.java index 598369bae39..079e16915e1 100644 --- a/document/src/test/java/com/yahoo/document/serialization/VespaDocumentSerializerTestCase.java +++ b/document/src/test/java/com/yahoo/document/serialization/VespaDocumentSerializerTestCase.java @@ -68,7 +68,7 @@ public class VespaDocumentSerializerTestCase { CompressionFixture() { docType = new DocumentType("map_of_structs"); - docType.getHeaderType().setCompressionConfig(new CompressionConfig(CompressionType.LZ4)); + docType.contentStruct().setCompressionConfig(new CompressionConfig(CompressionType.LZ4)); nestedType = new StructDataType("nested_type"); nestedType.addField(new Field("str", DataType.STRING)); |