]> git.mxchange.org Git - jcore.git/commitdiff
Added setter for bundle
authorRoland Haeder <roland@mxchange.org>
Tue, 25 Aug 2015 13:00:23 +0000 (15:00 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 25 Aug 2015 13:00:23 +0000 (15:00 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcore/BaseFrameworkSystem.java

index 45cd77a891aae7560d4cbdf2d083ab2b0bc31dc3..fe79566e3994380a444406e59e6a5b5ce6f42205 100644 (file)
@@ -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