From 8cc863de766ecb68a23685a534de2e3105636171 Mon Sep 17 00:00:00 2001 From: Sean Mac Gillicuddy Date: Tue, 29 Oct 2019 10:30:39 +0000 Subject: [PATCH] Mark meta fields not required 1566 --- .../kiwixmobile/library/entity/MetaLinkNetworkEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/kiwix/kiwixmobile/library/entity/MetaLinkNetworkEntity.java b/app/src/main/java/org/kiwix/kiwixmobile/library/entity/MetaLinkNetworkEntity.java index 450061531..b26312164 100644 --- a/app/src/main/java/org/kiwix/kiwixmobile/library/entity/MetaLinkNetworkEntity.java +++ b/app/src/main/java/org/kiwix/kiwixmobile/library/entity/MetaLinkNetworkEntity.java @@ -52,9 +52,9 @@ public class MetaLinkNetworkEntity { public List urls; @Element private long size; - @ElementMap(entry = "hash", key = "type", attribute = true, inline = true) + @ElementMap(entry = "hash", key = "type", attribute = true, inline = true, required = false) public Map hashes; - @Element + @Element(required = false) public Pieces pieces; public String getName() {