]> source.dussan.org Git - vaadin-framework.git/commitdiff
Documentation update
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Thu, 11 Oct 2007 11:20:03 +0000 (11:20 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Thu, 11 Oct 2007 11:20:03 +0000 (11:20 +0000)
svn changeset:2492/svn branch:trunk

src/com/itmill/toolkit/data/validator/NullValidator.java

index 694b6c2fa64a3a5ef1b9e7e753f89ab0dbb26ddf..7c7ae464ff19ccfe9340c9909df97731736b2566 100644 (file)
@@ -32,7 +32,7 @@ import com.itmill.toolkit.data.*;
 
 /**
  * This validator is used for validating properties that do or do not allow null
- * values.
+ * values. By default, nulls are not allowed.
  * 
  * @author IT Mill Ltd.
  * @version
@@ -92,9 +92,9 @@ public class NullValidator implements Validator {
        }
 
        /**
-        * Sets if nulls are to be allowed.
+        * Sets if nulls are to be allowed. 
         * 
-        * @param allowNull
+        * @param allowNull If true, only nulls are allowed. If false only non-nulls are allowed.
         *            Do we allow nulls?
         */
        public void setNullAllowed(boolean allowNull) {