- amount validator is a long value validator
- all message keys are UPPER_CASE
- updated jar
Signed-off-by:Roland Häder <roland@mxchange.org>
// Compare value's type
if (!(value instanceof String)) {
// Value is empty
- errKey = String.format("error_%s_is_not_string", field); //NOI18N
+ errKey = String.format("ERROR_%s_IS_NOT_STRING", field.toUpperCase()); //NOI18N
facesMessage = new FacesMessage(getMessageStringFromKey(errKey));
}
// Is it empty?
if (str.isEmpty()) {
// Value is empty
- errKey = String.format("error_%s_is_empty", field); //NOI18N
+ errKey = String.format("ERROR_%s_IS_EMPTY", field.toUpperCase()); //NOI18N
facesMessage = new FacesMessage(getMessageStringFromKey(errKey));
}