You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by rg...@apache.org on 2013/06/06 08:56:46 UTC

svn commit: r1490175 - /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.java

Author: rgielen
Date: Thu Jun  6 06:56:46 2013
New Revision: 1490175

URL: http://svn.apache.org/r1490175
Log:
WW-4093
Applied JavaDoc patch. Thanks Johno Crawford for contributing.

Modified:
    struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.java

Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.java?rev=1490175&r1=1490174&r2=1490175&view=diff
==============================================================================
--- struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.java (original)
+++ struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.java Thu Jun  6 06:56:46 2013
@@ -79,7 +79,7 @@ import java.lang.annotation.Target;
  * <td class='confluenceTd'>Enum value from ValidatorType. Either FIELD or SIMPLE can be used here.</td>
  * </tr>
  * <tr>
- * <td class='confluenceTd'>expression</td>
+ * <td class='confluenceTd'>regex</td>
  * <td class='confluenceTd'>yes</td>
  * <td class='confluenceTd'>&nbsp;</td>
  * <td class='confluenceTd'>The regex to validate the field value against.</td>
@@ -91,7 +91,7 @@ import java.lang.annotation.Target;
  *
  * <pre>
  * <!-- START SNIPPET: example -->
- * &#64;RegexFieldValidator( key = "regex.field", expression = "yourregexp")
+ * &#64;RegexFieldValidator( key = "regex.field", regex = "yourregexp")
  * <!-- END SNIPPET: example -->
  * </pre>
  *