Signed-off-by:Roland Häder <roland@mxchange.org>
Signed-off-by:KLC <KLC@NRW-450-190>
public char enterChar (final char[] validChars, final String message);\r
\r
/**\r
- * Reads a string of minimum and maximum length from the user\r
+ * Reads a string of minimum and maximum length from the user. An empty\r
+ * string should be generally not allowed, but might be okay for e.g.\r
+ * company name.\r
* \r
* @param minLength Minimum length of the string to read\r
* @param maxLength Maximum length of the string to read\r
* @return User's own country code\r
*/\r
private String enterOwnCountryCode () {\r
- return this.getClient().enterString(2, 2, "Bitte geben Sie den zweistelligen Ländercode von Ihrem Land ein: ", false);\r
+ return this.getClient().enterString(2, 2, "Bitte geben Sie den zweistelligen Ländercode von Ihrem Land ein: ", false).toUpperCase();\r
}\r
\r
/**\r