From: Roland Haeder Date: Tue, 25 Aug 2015 13:00:23 +0000 (+0200) Subject: Added setter for bundle X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1cdd3f874cc93f3ea767c52efd5a1a47bee5fd64;p=jcore.git Added setter for bundle Signed-off-by:Roland Häder --- diff --git a/src/org/mxchange/jcore/BaseFrameworkSystem.java b/src/org/mxchange/jcore/BaseFrameworkSystem.java index 45cd77a..fe79566 100644 --- a/src/org/mxchange/jcore/BaseFrameworkSystem.java +++ b/src/org/mxchange/jcore/BaseFrameworkSystem.java @@ -309,6 +309,15 @@ public class BaseFrameworkSystem implements FrameworkInterface { return BaseFrameworkSystem.bundle; } + /** + * Setter for bundle instance + * + * @param bundle the bundle to set + */ + protected static void setBundle (final ResourceBundle bundle) { + BaseFrameworkSystem.bundle = bundle; + } + /** * Client instance * @@ -898,7 +907,7 @@ public class BaseFrameworkSystem implements FrameworkInterface { } // Set instance - bundle = ResourceBundle.getBundle(FrameworkInterface.I18N_BUNDLE_FILE); // NOI18N + setBundle(ResourceBundle.getBundle(FrameworkInterface.I18N_BUNDLE_FILE)); // NOI18N // Trace message this.getLogger().trace("EXIT!"); //NOI18N