Nacharbeiten für Fix aus Revision 2085
git-svn-id: https://svn.libreccm.org/ccm/trunk@2095 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
25f1478b6b
commit
2a5d642762
|
|
@ -105,8 +105,10 @@ public class ChainedResourceBundle extends ResourceBundle {
|
||||||
* Because this particular bundle is just a wrapper around other bundles,
|
* Because this particular bundle is just a wrapper around other bundles,
|
||||||
* this method will return null so that the ResourceBundle can then
|
* this method will return null so that the ResourceBundle can then
|
||||||
* examine the values returned by the chained parents
|
* examine the values returned by the chained parents
|
||||||
|
* @param key
|
||||||
|
* @return
|
||||||
*/
|
*/
|
||||||
public Object handleGetObject(String key) {
|
public Object handleGetObject(final String key) {
|
||||||
Iterator iter = m_bundles.iterator();
|
Iterator iter = m_bundles.iterator();
|
||||||
Object object = null;
|
Object object = null;
|
||||||
while (iter.hasNext() && object == null) {
|
while (iter.hasNext() && object == null) {
|
||||||
|
|
|
||||||
|
|
@ -254,7 +254,7 @@ public class GlobalizedMessage {
|
||||||
resourceBundle = ResourceBundle.getBundle(
|
resourceBundle = ResourceBundle.getBundle(
|
||||||
getBundleName(),
|
getBundleName(),
|
||||||
locale,
|
locale,
|
||||||
ResourceBundle.Control.getNoFallbackControl(ResourceBundle.Control.FORMAT_PROPERTIES));
|
ResourceBundle.Control.getNoFallbackControl(ResourceBundle.Control.FORMAT_DEFAULT));
|
||||||
} catch (MissingResourceException e) {
|
} catch (MissingResourceException e) {
|
||||||
if (LOGGER.isDebugEnabled()) {
|
if (LOGGER.isDebugEnabled()) {
|
||||||
LOGGER.debug(
|
LOGGER.debug(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue