aboutsummaryrefslogtreecommitdiffstats
path: root/document/src/test
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-06-18 05:24:16 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-06-18 05:24:16 +0000
commit78d1292783fd65b431462e9ab969a570c5f200fb (patch)
treed1447ee23fea813b773d7f7c46552d7342d1fac3 /document/src/test
parentfcf38c0586e6166ed819a078355502bda4656d01 (diff)
Follow up from PR comments and GC some more code.
Diffstat (limited to 'document/src/test')
-rw-r--r--document/src/test/java/com/yahoo/document/serialization/VespaDocumentSerializerTestCase.java2
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));