struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject svn commit: r1428441 - /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/EmailValidator.java
Date Thu, 03 Jan 2013 16:14:09 GMT
Author: lukaszlenart
Date: Thu Jan  3 16:14:09 2013
New Revision: 1428441

URL: http://svn.apache.org/viewvc?rev=1428441&view=rev
Log:
Adds additional SNIPPET

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

Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/EmailValidator.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/EmailValidator.java?rev=1428441&r1=1428440&r2=1428441&view=diff
==============================================================================
--- struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/EmailValidator.java
(original)
+++ struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/EmailValidator.java
Thu Jan  3 16:14:09 2013
@@ -27,8 +27,6 @@ package com.opensymphony.xwork2.validato
  * </pre>
  *
  * You can also specify expression, caseSensitive and trim params as a OGNL expression, see
the example below.
- * WARNING! Do not use ${expression}, ${caseSensitive} and ${trim} as an expression as this
will turn into infinitive loop!
- *
  * <!-- END SNIPPET: javadoc -->
  * 
  * 
@@ -37,7 +35,10 @@ package com.opensymphony.xwork2.validato
  * 		<li>fieldName - The field name this validator is validating. Required if using
Plain-Validator Syntax otherwise not required</li>
  * </ul>
  * <!-- END SNIPPET: parameters -->
- * 
+ *
+ * <!-- START SNIPPET: parameters-warning -->
+ * Do not use ${expression}, ${caseSensitive} and ${trim} as an expression as this will turn
into infinitive loop!
+ * <!-- END SNIPPET: parameters-warning -->
  * 
  * <pre>
  * <!-- START SNIPPET: example -->



Mime
View raw message