struts-commits mailing list archives

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

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

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

Modified: struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java?rev=1428436&r1=1428435&r2=1428436&view=diff
==============================================================================
--- struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java
(original)
+++ struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java
Thu Jan  3 16:12:49 2013
@@ -35,10 +35,12 @@ import com.opensymphony.xwork2.validator
  *    <li>minLength - The min length of the field value. Default ignore. Can be specified
as OGNL expression when parse is set to true.</li>
  *    <li>trim - Trim the field value before evaluating its min/max length. Default
true. Can be specified as OGNL expression when parse is set to true.</li>
  * </ul>
- * WARNING! Do not use ${minLength}, ${maxLength} and ${trim} as an expression as this will
turn into infinitive loop!
  * <!-- END SNIPPET: parameters -->
  * 
- * 
+ * <!-- START SNIPPET: parameters-warning -->
+ * Do not use ${minLength}, ${maxLength} and ${trim} as an expression as this will turn into
infinitive loop!
+ * <!-- END SNIPPET: parameters-warning -->
+ *
  * <pre>
  * <!--START SNIPPET: example -->
  *      &lt;validators&gt;



Mime
View raw message