From: Niki Roo Date: Fri, 31 May 2019 13:06:25 +0000 (+0200) Subject: fix bundles reset to default X-Git-Tag: nikiroo-utils-5.1.0~8 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=efba985031fb5169a3099eeab4b51309ae0b649e;p=nikiroo-utils.git fix bundles reset to default --- diff --git a/src/be/nikiroo/utils/resources/Bundle.java b/src/be/nikiroo/utils/resources/Bundle.java index 21021e0..5139287 100644 --- a/src/be/nikiroo/utils/resources/Bundle.java +++ b/src/be/nikiroo/utils/resources/Bundle.java @@ -1167,7 +1167,7 @@ public class Bundle> { } /** - * Reset the backing map to the content of the given bundle, or with default + * Reset the backing map to the content of the given bundle, or with NULL * values if bundle is NULL. * * @param bundle @@ -1185,7 +1185,7 @@ public class Bundle> { if (bundle != null) { value = bundle.getString(id.name()); } else { - value = meta.def(); + value = null; } this.map.put(id.name(), value == null ? null : value.trim());