From e6f558dd6dc64dad7c7dec49257decc4c403ed26 Mon Sep 17 00:00:00 2001 From: Roland Haeder <roland@mxchange.org> Date: Mon, 14 Sep 2015 10:39:18 +0200 Subject: [PATCH] =?utf8?q?Continued:=20-=20amount=20validator=20is=20a=20l?= =?utf8?q?ong=20value=20validator=20-=20all=20message=20keys=20are=20UPPER?= =?utf8?q?=5FCASE=20-=20updated=20jar=20Signed-off-by:Roland=20H=C3=A4der?= =?utf8?q?=20<roland@mxchange.org>?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- lib/jcore-ee-logger.jar | Bin 8006 -> 8032 bytes .../validator/string/BaseStringValidator.java | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jcore-ee-logger.jar b/lib/jcore-ee-logger.jar index 6d0e98ca34bb9da22fe71b465ba1765a785a8053..9631578315fa23cab8f95f90e90b3013588b16ea 100644 GIT binary patch delta 968 zcmaJ=QAkr!7(Vyj?anPuxit-Tb#6o0Q0{eTZYA^PCOXv8AwBdqm)<UmyIt9qXb>@a z>do!E1s0TVK@>h^27%#IioN<EMcG>+1U(h?pEF!d!VBm8=l}oj`|p4M^W81=gNjoV zg2jPQ6GCssl?o2w*W*fZ)2*-Q2qC?aNQ+S=oQ^~*&w~O*>~%2nGeivuauH@{xEQmK zxCFDGxiJj+<ei*!O5qSv$N+zd!(@r?h5ac%0Q&)-OJRrI=ks0HGI@C}Tbwl)w8D~{ zGv~CyK*lfvDt5$rXtoHahE9|F535gp2?)^z{UgKF&)@7NQ+$^VNPbzyWJmA|*n!ER zFaodZx6u8zB?0?}rITeoT86;$TWM=ER+YyNlCnr--RflNcUB5MEsl!VA<HTz*F^6b zXgL<2pV#tpS^?T3_e2FiFT|k)WbCn?VKZMe4GkIw=N}-rmrY$~Bnq51&63a17Bpip zP%30*HTYVh*yM|~GBjPQ@t4Jl-^l8>3Yk*Y%paf0+OjRo)A6ru+P^ok!%J6$chZZ% z{^`SID?)U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/BaseStringValidator.java b/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java index b245656..59871c3 100644 --- a/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java +++ b/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java @@ -53,7 +53,7 @@ public abstract class BaseStringValidator extends BaseObjectValidator { // 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)); } @@ -64,7 +64,7 @@ public abstract class BaseStringValidator extends BaseObjectValidator { // 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)); } -- 2.39.5