You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2010/05/04 19:55:46 UTC

svn commit: r940984 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/validator/None.java

Author: hlship
Date: Tue May  4 17:55:45 2010
New Revision: 940984

URL: http://svn.apache.org/viewvc?rev=940984&view=rev
Log:
TAP5-1126: Add a new validator, "none", used when overriding the @Validate annotation

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/validator/None.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/validator/None.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/validator/None.java?rev=940984&r1=940983&r2=940984&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/validator/None.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/validator/None.java Tue May  4 17:55:45 2010
@@ -24,7 +24,7 @@ public class None extends AbstractValida
 {
     public None()
     {
-        super(Void.class, Object.class, "not-used");
+        super(null, Object.class, "required");
     }
 
     /** Does nothing. */