myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r819230 - in /myfaces/extensions/validator/trunk: core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/ validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/stra...
Date Sat, 26 Sep 2009 23:38:27 GMT
Author: gpetracek
Date: Sat Sep 26 23:38:27 2009
New Revision: 819230

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

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

Modified: myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java?rev=819230&r1=819229&r2=819230&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java
(original)
+++ myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java
Sat Sep 26 23:38:27 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/trunk/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/trunk/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java?rev=819230&r1=819229&r2=819230&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java
(original)
+++ myfaces/extensions/validator/trunk/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/JpaValidationStrategy.java
Sat Sep 26 23:38:27 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/trunk/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/trunk/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/RequiredStrategy.java?rev=819230&r1=819229&r2=819230&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/RequiredStrategy.java
(original)
+++ myfaces/extensions/validator/trunk/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/strategy/RequiredStrategy.java
Sat Sep 26 23:38:27 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