]> git.mxchange.org Git - jfinancials-lib.git/blobdiff - Addressbook/src/org/mxchange/addressbook/client/BaseClient.java
A lot refacturings ...
[jfinancials-lib.git] / Addressbook / src / org / mxchange / addressbook / client / BaseClient.java
index 6bd281fe265568813d711d2e97e48f68cba502f4..df1573ea4d34b93da4577bd00cef8ec587657d20 100644 (file)
@@ -50,8 +50,6 @@ public abstract class BaseClient extends BaseFrameworkSystem {
         * No instances can be created of this class
         */
        protected BaseClient () {
-               super();
-
                // Init menu map
                this.menus = new HashMap<>(10);
        }
@@ -158,17 +156,17 @@ public abstract class BaseClient extends BaseFrameworkSystem {
                this.getLogger().trace("CALLED!"); //NOI18N
 
                // Debug message
-               this.getLogger().debug("Initializing contact manager ...");
+               this.getLogger().debug("Initializing contact manager ..."); //NOI18N
 
                // Init contact manager with console client
                // @TODO Static initial amount of contacts
-               ManageableContact manager = new ContactManager(100, (Client) this);
+               ManageableContact manager = new ContactManager((Client) this);
 
                // Set it here
                this.setContactManager(manager);
 
                // Debug message
-               this.getLogger().debug("Contact manager has been initialized.");
+               this.getLogger().debug("Contact manager has been initialized."); //NOI18N
 
                // Trace message
                this.getLogger().trace("EXIT!"); //NOI18N
@@ -189,7 +187,7 @@ public abstract class BaseClient extends BaseFrameworkSystem {
                if (!(menu instanceof Menu)) {
                        // Not found
                        // @todo Own exception?
-                       throw new NullPointerException("Menu '" + menuType + "' not found.");
+                       throw new NullPointerException(MessageFormat.format("Menu '{0}' not found.", menuType)); //NOI18N
                }
 
                // Show menu