]> git.mxchange.org Git - jcoreee.git/commitdiff
these are noisy debug lines ...
authorRoland Haeder <roland@mxchange.org>
Sat, 7 May 2016 14:34:24 +0000 (16:34 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 7 May 2016 14:34:24 +0000 (16:34 +0200)
src/org/mxchange/jcoreee/validator/BaseObjectValidator.java
src/org/mxchange/jcoreee/validator/bool/BaseBooleanValidator.java
src/org/mxchange/jcoreee/validator/bool/privacy_terms/PrivacyTermsCheckboxValidator.java
src/org/mxchange/jcoreee/validator/number/BaseLongValidator.java
src/org/mxchange/jcoreee/validator/number/item_amount/ItemAmountValidator.java
src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java
src/org/mxchange/jcoreee/validator/string/names/NameValidator.java

index e35b97e61ad8417a667276d1e2ab7b8e3c94ce41..3bf63fe85199691762173aa3ffc5894dd289644d 100644 (file)
@@ -67,7 +67,7 @@ public abstract class BaseObjectValidator implements Validator, Serializable {
         */
        protected void preValidate (final FacesContext context, final UIComponent component, final Object value, final String[] requiredFields, boolean allowNull) throws ValidatorException {
                // Trace message
-               //this.getLogger().logTrace(MessageFormat.format("preValidate: context={0},component={1},value={2},requiredFields={3} - CALLED!", context, component, value, Arrays.toString(requiredFields))); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("preValidate: context={0},component={1},value={2},requiredFields={3} - CALLED!", context, component, value, Arrays.toString(requiredFields))); //NOI18N
 
                // Init message and key
                FacesMessage facesMessage = null;
@@ -117,7 +117,7 @@ public abstract class BaseObjectValidator implements Validator, Serializable {
                }
 
                // Trace message
-               //this.getLogger().logTrace("preValidate: EXIT!"); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println("preValidate: EXIT!"); //NOI18N
        }
 
 }
index 8b80973a51a2589dc6df9dd0f589dc9e1154d1cc..cdb26d93e50202e926e5b16227a5f1f6e6881711 100644 (file)
@@ -42,7 +42,7 @@ public abstract class BaseBooleanValidator extends BaseObjectValidator implement
        @Override
        public void preValidate (final FacesContext context, final UIComponent component, final Object value, final String[] requiredFields, boolean allowNull) throws ValidatorException {
                // Trace message
-               //this.getLogger().logTrace(MessageFormat.format("preValidate: context={0},component={1},value={2},requiredFields={3} - CALLED!", context, component, value, Arrays.toString(requiredFields))); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("preValidate: context={0},component={1},value={2},requiredFields={3} - CALLED!", context, component, value, Arrays.toString(requiredFields))); //NOI18N
 
                // Pre-validate
                super.preValidate(context, component, value, requiredFields, allowNull);
index e8212506c31fd37836732ab8e395ab826fa38130..f59654ed907e20efabbeeeefc9ea1225823c5b1a 100644 (file)
@@ -39,7 +39,7 @@ public class PrivacyTermsCheckboxValidator extends BaseBooleanValidator implemen
        @Override
        public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException {
                // Trace message
-               //this.getLogger().logTrace(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
 
                // All accepted, required fields
                String[] requiredFields = {"privacy", "terms"}; //NOI18N
@@ -48,6 +48,6 @@ public class PrivacyTermsCheckboxValidator extends BaseBooleanValidator implemen
                super.preValidate(context, component, value, requiredFields, false);
 
                // Trace message
-               //this.getLogger().logTrace("validate: EXIT!"); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println("validate: EXIT!"); //NOI18N
        }
 }
index 2a5ddff789bff4634ce6955a09604e136318720e..60676a64fa9f59f6adf999eb7b021f10dc6a1346 100644 (file)
@@ -39,7 +39,7 @@ public abstract class BaseLongValidator extends BaseObjectValidator implements V
        @Override
        public void preValidate (final FacesContext context, final UIComponent component, final Object value, final String[] requiredFields, boolean allowNull) throws ValidatorException {
                // Trace message
-               //this.getLogger().logTrace(MessageFormat.format("preValidate: context={0},component={1},value={2},requiredFields={3},allowNull={4} - CALLED!", context, component, value, Arrays.toString(requiredFields, allowNull))); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("preValidate: context={0},component={1},value={2},requiredFields={3},allowNull={4} - CALLED!", context, component, value, Arrays.toString(requiredFields, allowNull))); //NOI18N
 
                // Pre-validate
                super.preValidate(context, component, value, requiredFields, allowNull);
index 204a70fcc3a67e4bcb9b5871977d52506b82e691..338a38c21cd774e747c4af89a7182602d8a242ee 100644 (file)
@@ -39,7 +39,7 @@ public class ItemAmountValidator extends BaseLongValidator implements Validator
        @Override
        public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException {
                // Trace message
-               //this.getLogger().logTrace(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
 
                // The required field
                String[] requiredFields = {"amount"}; //NOI18N
@@ -48,6 +48,6 @@ public class ItemAmountValidator extends BaseLongValidator implements Validator
                super.preValidate(context, component, value, requiredFields, false);
 
                // Trace message
-               //this.getLogger().logTrace("validate: EXIT!"); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println("validate: EXIT!"); //NOI18N
        }
 }
index 708a0317d3c8fc830dc8bd88b2acadcede5f52a1..9948a577d045d5e22c0952413877c3d462782609 100644 (file)
@@ -39,7 +39,7 @@ public abstract class BaseStringValidator extends BaseObjectValidator {
        @Override
        protected void preValidate (final FacesContext context, final UIComponent component, final Object value, final String[] requiredFields, boolean allowNull) throws ValidatorException {
                // Trace message
-               //this.getLogger().logTrace(MessageFormat.format("preValidate: context={0},component={1},value={2},fields={3} - CALLED!", context, component, value, Arrays.toString(requiredFields))); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("preValidate: context={0},component={1},value={2},fields={3} - CALLED!", context, component, value, Arrays.toString(requiredFields))); //NOI18N
 
                // Pre-validate (example: on null)
                super.preValidate(context, component, value, requiredFields, allowNull);
@@ -80,6 +80,6 @@ public abstract class BaseStringValidator extends BaseObjectValidator {
                }
 
                // Trace message
-               //this.getLogger().logTrace("preValidate: EXIT!"); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println("preValidate: EXIT!"); //NOI18N
        }
 }
index c12bef1ad2e1994f7983a21227750f875bc31cf6..02cbfe0590fea3aa67017be3eacb3771bba91c4d 100644 (file)
@@ -39,7 +39,7 @@ public class NameValidator extends BaseStringValidator implements Validator {
        @Override
        public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException {
                // Trace message
-               //this.getLogger().logTrace(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
 
                // All accepted, required fields
                String[] requiredFields = {"firstName", "familyName", "city", "street"}; //NOI18N
@@ -48,6 +48,6 @@ public class NameValidator extends BaseStringValidator implements Validator {
                super.preValidate(context, component, value, requiredFields, true);
 
                // Trace message
-               //this.getLogger().logTrace("validate: EXIT!"); //NOI18N
+               //* NOISY-DEBUG: */ System.out.println("validate: EXIT!"); //NOI18N
        }
 }