]> git.mxchange.org Git - addressbook-swing.git/blobdiff - src/org/mxchange/addressbook/menu/console/ConsoleMenu.java
Updated copyright year
[addressbook-swing.git] / src / org / mxchange / addressbook / menu / console / ConsoleMenu.java
index 965f68ab0a58a820f19cec3407745b906e0b4329..392d7e7c2772745d1478564367051bde040e79a4 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
@@ -23,23 +23,24 @@ import org.mxchange.addressbook.menu.Menu;
 import org.mxchange.jcore.client.Client;
 
 /**
- *
- * @author Roland Haeder
+ * A menu system for the console
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
  */
 public class ConsoleMenu extends BaseMenu implements Menu {
 
        /**
         * Constructor for this menu
-        *
+        * <p>
         * @param menuType      Menu type to initialize
         * @param client CLient to call back
         */
        public ConsoleMenu (final String menuType, final Client client) {
                // Trace message
-               this.getLogger().trace(MessageFormat.format("menuType={0},client={1} - CALLED!", menuType, client)); //NOI18N
+               this.getLoggerBeanLocal().logTrace(MessageFormat.format("menuType={0},client={1} - CALLED!", menuType, client)); //NOI18N
 
                // Client must not be null
-               if (client == null)  {
+               if (null == client) {
                        // Abort here
                        throw new NullPointerException("client is null");
                }