From 3dd8f70eb1a1f2b1117acf27cd1c7976c25e4626 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 22 Jan 2023 01:29:08 +0100 Subject: [PATCH] Continued: - sorted members --- .../mxchange/jcore/BaseFrameworkSystem.java | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) 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; } /** -- 2.39.5