git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix bundles reset to default
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
utils
/
resources
/
Bundle.java
diff --git
a/src/be/nikiroo/utils/resources/Bundle.java
b/src/be/nikiroo/utils/resources/Bundle.java
index 21021e065f05a938f4521bfb5fd399b40847a77d..5139287fa5c46fcf824fc73f901cb11bbebc326b 100644
(file)
--- a/
src/be/nikiroo/utils/resources/Bundle.java
+++ b/
src/be/nikiroo/utils/resources/Bundle.java
@@
-1167,7
+1167,7
@@
public class Bundle<E extends Enum<E>> {
}
/**
}
/**
- * 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
* values if bundle is NULL.
*
* @param bundle
@@
-1185,7
+1185,7
@@
public class Bundle<E extends Enum<E>> {
if (bundle != null) {
value = bundle.getString(id.name());
} else {
if (bundle != null) {
value = bundle.getString(id.name());
} else {
- value =
meta.def()
;
+ value =
null
;
}
this.map.put(id.name(), value == null ? null : value.trim());
}
this.map.put(id.name(), value == null ? null : value.trim());