]> git.mxchange.org Git - addressbook-swing.git/blobdiff - src/org/mxchange/addressbook/menu/BaseMenu.java
Updated copyright year
[addressbook-swing.git] / src / org / mxchange / addressbook / menu / BaseMenu.java
index 1d9dfcc38259af7315747c9ec74d1e18f580d1e5..bbd7414863a229f049af6dd89b5be93f9dda6f34 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2015 Roland Haeder
+ * Copyright (C) 2016 - 2022 Free Software Foundation
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -28,7 +28,7 @@ import org.mxchange.jcore.client.Client;
 /**
  * A general menu class
  * <p>
- * @author Roland Haeder
+ * @author Roland Häder<roland@mxchange.org>
  */
 public abstract class BaseMenu extends BaseAddressbookSystem implements Menu {
 
@@ -56,7 +56,7 @@ public abstract class BaseMenu extends BaseAddressbookSystem implements Menu {
        @Override
        public void show (final Client client) {
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("client={0} CALLED!", client)); //NOI18N
+               this.getLoggerBeanLocal().logTrace(MessageFormat.format("client={0} CALLED!", client)); //NOI18N
 
                // Client must not be null
                if (null == client) {
@@ -68,7 +68,7 @@ public abstract class BaseMenu extends BaseAddressbookSystem implements Menu {
                Iterator<SelectableMenuItem> iterator = this.menuList.iterator();
 
                // Debug message
-               this.getLogger().logDebug("Showing menu with '" + this.menuList.size() + "' entries.");
+               this.getLoggerBeanLocal().logDebug("Showing menu with '" + this.menuList.size() + "' entries.");
 
                // Output all menus
                while (iterator.hasNext()) {
@@ -80,7 +80,7 @@ public abstract class BaseMenu extends BaseAddressbookSystem implements Menu {
                }
 
                // Trace message
-               this.getLogger().logTrace("EXIT!"); //NOI18N
+               this.getLoggerBeanLocal().logTrace("EXIT!"); //NOI18N
        }
 
        /**
@@ -100,12 +100,12 @@ public abstract class BaseMenu extends BaseAddressbookSystem implements Menu {
         */
        protected void initMenu (final String menuType, final Client client) {
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("menuType={0},client={1} - CALLED!", menuType, client)); //NOI18N
+               this.getLoggerBeanLocal().logTrace(MessageFormat.format("menuType={0},client={1} - CALLED!", menuType, client)); //NOI18N
 
                // Init menu list
                this.menuList = new ArrayList<>(5);
 
                // Trace message
-               this.getLogger().logTrace("EXIT!"); //NOI18N
+               this.getLoggerBeanLocal().logTrace("EXIT!"); //NOI18N
        }
 }