myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r819231 - in /myfaces/extensions/validator/branches/branch_for_jsf_1_1: core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/ validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/...
Date Sat, 26 Sep 2009 23:39:00 GMT
Author: gpetracek
Date: Sat Sep 26 23:39:00 2009
New Revision: 819231

URL: http://svn.apache.org/viewvc?rev=819231&view=rev
Log:
cleanup

Modified:
    myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java
    myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java
    myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/RequiredStrategy.java

Modified: myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java?rev=819231&r1=819230&r2=819231&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java
(original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java
Sat Sep 26 23:39:00 2009
@@ -77,7 +77,7 @@
         return null;
     }
 
-    protected FacesMessage getValidationErrorFacesMassage(A annotation)
+    protected FacesMessage getValidationErrorFacesMessage(A annotation)
     {
         return ExtValUtils.createFacesMessage(getErrorMessageSummary(annotation), getErrorMessageDetail(annotation));
     }

Modified: myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java?rev=819231&r1=819230&r2=819231&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java
(original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java
Sat Sep 26 23:39:00 2009
@@ -97,7 +97,7 @@
         {
             this.violation = VALIDATE_LENGTH;
             this.maxLength = column.length();
-            throw new ValidatorException(getValidationErrorFacesMassage(null));
+            throw new ValidatorException(getValidationErrorFacesMessage(null));
         }
     }
 
@@ -131,7 +131,7 @@
         if (convertedObject == null || convertedObject.equals(""))
         {
             this.violation = CommonMetaDataKeys.REQUIRED;
-            throw new ValidatorException(getValidationErrorFacesMassage(null));
+            throw new ValidatorException(getValidationErrorFacesMessage(null));
         }
     }
 

Modified: myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/RequiredStrategy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/RequiredStrategy.java?rev=819231&r1=819230&r2=819231&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/RequiredStrategy.java
(original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_1_1/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/RequiredStrategy.java
Sat Sep 26 23:39:00 2009
@@ -51,7 +51,7 @@
                 (convertedObject instanceof Collection && ((Collection)convertedObject).isEmpty())
||
                 (convertedObject instanceof Map && ((Map)convertedObject).isEmpty()))
         {
-            throw new ValidatorException(getValidationErrorFacesMassage(metaDataEntry.getValue(Required.class)));
+            throw new ValidatorException(getValidationErrorFacesMessage(metaDataEntry.getValue(Required.class)));
         }
     }
 



Mime
View raw message