bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r996989 - /incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java
Date Tue, 14 Sep 2010 17:02:26 GMT
Author: mbenson
Date: Tue Sep 14 17:02:26 2010
New Revision: 996989

URL: http://svn.apache.org/viewvc?rev=996989&view=rev
Log:
javadoc

Modified:
    incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java

Modified: incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java?rev=996989&r1=996988&r2=996989&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/ClassValidator.java
Tue Sep 14 17:02:26 2010
@@ -687,11 +687,11 @@ public class ClassValidator implements C
      * Behavior configuration -
      * 
      * <pre>
-     * parameter: treatMapsLikeBeans - true (validate maps like beans, so that
-     *                             you can use Maps to validate dynamic classes or
-     *                             beans for which you have the MetaBean but no instances)
-     *                           - false (default), validate maps like collections
-     *                             (validating the values only)
+     * @return treatMapsLikeBeans - true (validate maps like beans, so that
+     *                              you can use Maps to validate dynamic classes or
+     *                              beans for which you have the MetaBean but no instances)
+     *                            - false (default), validate maps like collections
+     *                              (validating the values only)
      * </pre>
      * 
      * (is still configuration to better in BeanValidationContext?)
@@ -700,6 +700,17 @@ public class ClassValidator implements C
         return treatMapsLikeBeans;
     }
 
+    /**
+     * Set whether maps are to be treated like beans.
+     * 
+     * <pre>
+     * @param treatMapsLikeBeans - true (validate maps like beans, so that
+     *                             you can use Maps to validate dynamic classes or
+     *                             beans for which you have the MetaBean but no instances)
+     *                           - false (default), validate maps like collections
+     *                             (validating the values only)
+     * </pre>
+     */
     public void setTreatMapsLikeBeans(boolean treatMapsLikeBeans) {
         this.treatMapsLikeBeans = treatMapsLikeBeans;
     }



Mime
View raw message