From: Roland Haeder Date: Sat, 7 May 2016 14:37:10 +0000 (+0200) Subject: ignored some warnings X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0f051b3ea9d7ce6616910e828902ae6563fb2a56;p=addressbook-swing.git ignored some warnings --- diff --git a/src/org/mxchange/addressbook/client/console/ConsoleClient.java b/src/org/mxchange/addressbook/client/console/ConsoleClient.java index 6f74ce2..6065392 100644 --- a/src/org/mxchange/addressbook/client/console/ConsoleClient.java +++ b/src/org/mxchange/addressbook/client/console/ConsoleClient.java @@ -366,6 +366,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC } @Override + @SuppressWarnings ("UseOfSystemOutOrSystemErr") public char enterChar (final char[] validChars, final String message) { // Trace message this.getLoggerBeanLocal().logTrace(MessageFormat.format("validChars={0},message={1} - CALLED!", Arrays.toString(validChars), message)); //NOI18N @@ -410,6 +411,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC // Debug message //* NOISY-DEBUG: */ System.out.println(validChars); + // Call inner method char gender = this.enterChar(validChars, message); @@ -427,6 +429,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC } @Override + @SuppressWarnings ("UseOfSystemOutOrSystemErr") public int enterInt (final int minimum, final int maximum, final String message) { // Trace message this.getLoggerBeanLocal().logTrace(MessageFormat.format("minimum={0},maximum={1},message={2} - CALLED!", minimum, maximum, message)); //NOI18N @@ -454,6 +457,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC } @Override + @SuppressWarnings ("UseOfSystemOutOrSystemErr") public String enterString (final int minLength, final int maxLength, final String message, final boolean allowEmpty) { // Trace message this.getLoggerBeanLocal().logTrace(MessageFormat.format("minLength={0},maxLength={1},message={2}allowEmpty={3} - CALLED!", minLength, maxLength, message, allowEmpty)); //NOI18N @@ -507,6 +511,7 @@ public class ConsoleClient extends BaseAddressbookClient implements AddressbookC } @Override + @SuppressWarnings ("UseOfSystemOutOrSystemErr") public void outputMessage (final String message) { System.out.println(message); }