From: Roland Häder Date: Sun, 22 Jan 2023 00:29:08 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3dd8f70eb1a1f2b1117acf27cd1c7976c25e4626;p=jcore.git Continued: - sorted members --- diff --git a/src/org/mxchange/jcore/BaseFrameworkSystem.java b/src/org/mxchange/jcore/BaseFrameworkSystem.java index 7895773..cdba2ba 100644 --- a/src/org/mxchange/jcore/BaseFrameworkSystem.java +++ b/src/org/mxchange/jcore/BaseFrameworkSystem.java @@ -131,31 +131,32 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { } @Override - public Client getClient () { - return this.client; + public Facade getFacade () { + return this.facade; + } + + @Override + public String getMessageStringFromKey (final String key) { + // Return message + return this.getBundle().getString(key); } /** - * Client instance + * Getter for bundle instance *

- * @param client the client to set + * @return Resource bundle */ - protected void setClient (final Client client) { - this.client = client; + protected ResourceBundle getBundle () { + return BaseFrameworkSystem.bundle; } /** - * Application instance + * Setter for bundle instance *

- * @param application the application to set + * @param bundle the bundle to set */ - protected void setApplication (final Application application) { - this.application = application; - } - - @Override - public Facade getFacade () { - return this.facade; + protected static void setBundle (final ResourceBundle bundle) { + BaseFrameworkSystem.bundle = bundle; } /** @@ -167,28 +168,27 @@ public abstract class BaseFrameworkSystem implements FrameworkInterface { this.facade = facade; } - @Override - public String getMessageStringFromKey (final String key) { - // Return message - return this.getBundle().getString(key); - } - /** - * Getter for bundle instance + * Application instance *

- * @return Resource bundle + * @param application the application to set */ - protected ResourceBundle getBundle () { - return BaseFrameworkSystem.bundle; + protected void setApplication (final Application application) { + this.application = application; + } + + @Override + public Client getClient () { + return this.client; } /** - * Setter for bundle instance + * Client instance *

- * @param bundle the bundle to set + * @param client the client to set */ - protected static void setBundle (final ResourceBundle bundle) { - BaseFrameworkSystem.bundle = bundle; + protected void setClient (final Client client) { + this.client = client; } /**