git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix bridge util todos
[fanfix.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 68c236fa108e7f54d842775d408607f7e2a7551c..21021e065f05a938f4521bfb5fd399b40847a77d 100644
(file)
--- a/
src/be/nikiroo/utils/resources/Bundle.java
+++ b/
src/be/nikiroo/utils/resources/Bundle.java
@@
-143,7
+143,8
@@
public class Bundle<E extends Enum<E>> {
/**
* Return the value associated to the given id as a {@link String}.
* <p>
/**
* Return the value associated to the given id as a {@link String}.
* <p>
- * If no value is associated, take the default one if any.
+ * If no value is associated (or if it is empty!), take the default one if
+ * any.
*
* @param id
* the id of the value to get
*
* @param id
* the id of the value to get
@@
-168,7
+169,6
@@
public class Bundle<E extends Enum<E>> {
}
}
}
}
- //TODO: is it ok? need to jDoc?
if (rep == null || rep.isEmpty()) {
return def;
}
if (rep == null || rep.isEmpty()) {
return def;
}