From 2ed79d7b025534cc3e8500fad0c1889734909852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Gielen?= Date: Thu, 6 Jun 2013 06:56:46 +0000 Subject: [PATCH] WW-4093 Applied JavaDoc patch. Thanks Johno Crawford for contributing. git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1490175 13f79535-47bb-0310-9956-ffa450edef68 --- .../xwork2/validator/annotations/RegexFieldValidator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.java b/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.java index bcd48110d..3997916eb 100644 --- a/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.java +++ b/xwork-core/src/main/java/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.java @@ -79,7 +79,7 @@ import java.lang.annotation.Target; * Enum value from ValidatorType. Either FIELD or SIMPLE can be used here. * * - * expression + * regex * yes *   * The regex to validate the field value against. @@ -91,7 +91,7 @@ import java.lang.annotation.Target; * *
  * 
- * @RegexFieldValidator( key = "regex.field", expression = "yourregexp")
+ * @RegexFieldValidator( key = "regex.field", regex = "yourregexp")
  * 
  * 
*