]> git.mxchange.org Git - jcore-utils.git/blobdiff - src/org/mxchange/jcoreee/validator/bool/privacy_terms/PrivacyTermsCheckboxValidator.java
BaseEeSystem is now centralized and serializable
[jcore-utils.git] / src / org / mxchange / jcoreee / validator / bool / privacy_terms / PrivacyTermsCheckboxValidator.java
index 17476d09543238be1b0a665b041974a0742f6989..076a73e271729009a18f0fcbcbbef43664e62703 100644 (file)
@@ -16,7 +16,6 @@
  */
 package org.mxchange.jcoreee.validator.bool.privacy_terms;
 
-import java.text.MessageFormat;
 import javax.faces.component.UIComponent;
 import javax.faces.context.FacesContext;
 import javax.faces.validator.Validator;
@@ -26,14 +25,18 @@ import org.mxchange.jcoreee.validator.bool.BaseBooleanValidator;
 /**
  * A validator for privacy and terms checkboxes
  *
- * @author Roland Haeder
+ * @author Roland Haeder<roland@mxchange.org>
  */
 public class PrivacyTermsCheckboxValidator extends BaseBooleanValidator implements Validator {
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 49_241_787_855_847_581L;
 
        @Override
        public void validate (final FacesContext context, final UIComponent component, final Object value) throws ValidatorException {
                // Trace message
-               this.getLogger().logTrace(MessageFormat.format("context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
+               //this.getLogger().logTrace(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
 
                // All accepted, required fields
                String[] requiredFileds = {"privacy", "terms"}; //NOI18N
@@ -42,6 +45,6 @@ public class PrivacyTermsCheckboxValidator extends BaseBooleanValidator implemen
                super.preValidate(context, component, value, requiredFileds);
 
                // Trace message
-               this.getLogger().logTrace("EXIT!"); //NOI18N
+               //this.getLogger().logTrace("validate: EXIT!"); //NOI18N
        }
 }