From 1cdd3f874cc93f3ea767c52efd5a1a47bee5fd64 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 25 Aug 2015 15:00:23 +0200 Subject: [PATCH] =?utf8?q?Added=20setter=20for=20bundle=20Signed-off-by:Ro?= =?utf8?q?land=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/org/mxchange/jcore/BaseFrameworkSystem.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- 2.39.2