From: KLC Date: Wed, 15 Jul 2015 13:27:03 +0000 (+0200) Subject: Updated comment (minor) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=15bc8210e431a80105f59143aed37cd285214260;p=jfinancials-lib.git Updated comment (minor) Signed-off-by:Roland Häder Signed-off-by:KLC --- diff --git a/Addressbook/src/org/mxchange/addressbook/client/Client.java b/Addressbook/src/org/mxchange/addressbook/client/Client.java index ea748a5..4319a59 100644 --- a/Addressbook/src/org/mxchange/addressbook/client/Client.java +++ b/Addressbook/src/org/mxchange/addressbook/client/Client.java @@ -86,7 +86,9 @@ public interface Client extends FrameworkInterface { public char enterChar (final char[] validChars, final String message); /** - * Reads a string of minimum and maximum length from the user + * Reads a string of minimum and maximum length from the user. An empty + * string should be generally not allowed, but might be okay for e.g. + * company name. * * @param minLength Minimum length of the string to read * @param maxLength Maximum length of the string to read diff --git a/Addressbook/src/org/mxchange/addressbook/manager/contact/ContactManager.java b/Addressbook/src/org/mxchange/addressbook/manager/contact/ContactManager.java index befd9a6..3270690 100644 --- a/Addressbook/src/org/mxchange/addressbook/manager/contact/ContactManager.java +++ b/Addressbook/src/org/mxchange/addressbook/manager/contact/ContactManager.java @@ -277,7 +277,7 @@ public class ContactManager extends BaseManager implements ManageableContact { * @return User's own country code */ private String enterOwnCountryCode () { - return this.getClient().enterString(2, 2, "Bitte geben Sie den zweistelligen Ländercode von Ihrem Land ein: ", false); + return this.getClient().enterString(2, 2, "Bitte geben Sie den zweistelligen Ländercode von Ihrem Land ein: ", false).toUpperCase(); } /**