summaryrefslogtreecommitdiffstats
path: root/vdslib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-11-01 14:00:59 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2018-11-01 14:00:59 +0100
commitf9345f20d23291f71caff3ca43708990c1b3604b (patch)
tree5c3b56c39e36882d5a856402862febe548e93691 /vdslib
parentfb6f2c5f01f615b16860b76ba7a39b5fa7d5518f (diff)
getContentType -> contentStruct and java doc.
Diffstat (limited to 'vdslib')
-rw-r--r--vdslib/src/main/java/com/yahoo/vdslib/DynamicDocumentList.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdslib/src/main/java/com/yahoo/vdslib/DynamicDocumentList.java b/vdslib/src/main/java/com/yahoo/vdslib/DynamicDocumentList.java
index fd627c5839e..a3cb6376b58 100644
--- a/vdslib/src/main/java/com/yahoo/vdslib/DynamicDocumentList.java
+++ b/vdslib/src/main/java/com/yahoo/vdslib/DynamicDocumentList.java
@@ -112,8 +112,8 @@ public class DynamicDocumentList extends DocumentList {
metaEntry.timestamp = lastModified;
}
- if (doc.getDataType().getContentType().getCompressionConfig() != null
- && doc.getDataType().getContentType().getCompressionConfig().type != CompressionType.NONE) {
+ if (doc.getDataType().contentStruct().getCompressionConfig() != null
+ && doc.getDataType().contentStruct().getCompressionConfig().type != CompressionType.NONE) {
metaEntry.flags |= MetaEntry.COMPRESSED;
}
if (doc.getDataType().getBodyType().getCompressionConfig() != null