I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit dc6d6ead authored by zzz's avatar zzz
Browse files

fix bundle caching

parent 27693826
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,8 @@ public class Messages { ...@@ -69,6 +69,8 @@ public class Messages {
// Would it be faster to specify a class loader? // Would it be faster to specify a class loader?
// No matter we only do this once per lang. // No matter we only do this once per lang.
rv = ResourceBundle.getBundle(BUNDLE_NAME, new Locale(lang)); rv = ResourceBundle.getBundle(BUNDLE_NAME, new Locale(lang));
if (rv != null)
_bundles.put(lang, rv);
} catch (MissingResourceException e) { } catch (MissingResourceException e) {
_missing.add(lang); _missing.add(lang);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment