From efba985031fb5169a3099eeab4b51309ae0b649e Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Fri, 31 May 2019 15:06:25 +0200 Subject: [PATCH] fix bundles reset to default --- src/be/nikiroo/utils/resources/Bundle.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); -- 2.27.0