]> git.mxchange.org Git - jcore.git/blobdiff - src/org/mxchange/jcore/BaseFrameworkSystem.java
updated translation keys
[jcore.git] / src / org / mxchange / jcore / BaseFrameworkSystem.java
index 4f27ff07fc80e625eaa14546f1bc08a11fe3e211..ebfe18b0ce45fb3a7083afc73fdc888774be047e 100644 (file)
@@ -30,9 +30,9 @@ import org.mxchange.jcore.model.contact.Contact;
 /**
  * General class
  *
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
-public class BaseFrameworkSystem implements FrameworkInterface {
+public abstract class BaseFrameworkSystem implements FrameworkInterface {
 
        /**
         * Bundle instance
@@ -91,13 +91,13 @@ public class BaseFrameworkSystem implements FrameworkInterface {
         *
         * @return Instance from this application
         */
-       public static final FrameworkInterface getInstance () {
+       public static FrameworkInterface getInstance () {
                // Return it
                return selfInstance;
        }
 
        @Override
-       public final Application getApplication () {
+       public Application getApplication () {
                return this.application;
        }
 
@@ -106,17 +106,17 @@ public class BaseFrameworkSystem implements FrameworkInterface {
         *
         * @return Logger instance
         */
-       protected final Logger getLogger () {
+       protected Logger getLogger () {
                return this.LOG;
        }
 
        @Override
-       public final Manageable getManager () {
+       public Manageable getManager () {
                return this.manager;
        }
 
        @Override
-       public final String getMessageStringFromKey (final String key) {
+       public String getMessageStringFromKey (final String key) {
                // Return message
                return this.getBundle().getString(key);
        }
@@ -126,7 +126,7 @@ public class BaseFrameworkSystem implements FrameworkInterface {
         *
         * @param throwable Any type of Throwable
         */
-       protected final void abortProgramWithException (final Throwable throwable) {
+       protected void abortProgramWithException (final Throwable throwable) {
                // Log exception ...
                this.logException(throwable);
 
@@ -139,12 +139,12 @@ public class BaseFrameworkSystem implements FrameworkInterface {
         *
         * @param application the application to set
         */
-       protected final void setApplication (final Application application) {
+       protected void setApplication (final Application application) {
                this.application = application;
        }
 
        @Override
-       public final Client getClient () {
+       public Client getClient () {
                return this.client;
        }
 
@@ -153,7 +153,7 @@ public class BaseFrameworkSystem implements FrameworkInterface {
         *
         * @return Resource bundle
         */
-       protected final ResourceBundle getBundle () {
+       protected ResourceBundle getBundle () {
                return BaseFrameworkSystem.bundle;
        }
 
@@ -171,12 +171,12 @@ public class BaseFrameworkSystem implements FrameworkInterface {
         *
         * @param client the client to set
         */
-       protected final void setClient (final Client client) {
+       protected void setClient (final Client client) {
                this.client = client;
        }
 
        @Override
-       public final void logException (final Throwable exception) {
+       public void logException (final Throwable exception) {
                // Log this exception
                this.getLogger().catching(exception);
        }
@@ -248,7 +248,7 @@ public class BaseFrameworkSystem implements FrameworkInterface {
         *
         * @param manager the manager instance to set
         */
-       protected final void setManager (final Manageable manager) {
+       protected void setManager (final Manageable manager) {
                this.manager = manager;
        }
 
@@ -257,7 +257,7 @@ public class BaseFrameworkSystem implements FrameworkInterface {
         *
         * @return Contact instance
         */
-       protected final Contact getContact () {
+       protected Contact getContact () {
                return this.contact;
        }
 
@@ -266,7 +266,7 @@ public class BaseFrameworkSystem implements FrameworkInterface {
         *
         * @param contact A Contact instance
         */
-       protected final void setContact (final Contact contact) {
+       protected void setContact (final Contact contact) {
                this.contact = contact;
        }