git://git.nikiroo.be
/
fanfix-jexer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5313d0
)
fix bundles reset to default
author
Niki Roo
<niki@nikiroo.be>
Fri, 31 May 2019 13:06:25 +0000
(15:06 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Fri, 31 May 2019 13:06:25 +0000
(15:06 +0200)
src/be/nikiroo/utils/resources/Bundle.java
patch
|
blob
|
blame
|
history
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
@@
-1185,7
+1185,7
@@
public class Bundle<E extends Enum<E>> {
if (bundle != null) {
value = bundle.getString(id.name());
} else {
- value =
meta.def()
;
+ value =
null
;
}
this.map.put(id.name(), value == null ? null : value.trim());