You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2013/01/03 17:12:49 UTC
svn commit: r1428436 -
/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/validator/validators/StringLengthFieldValidator.java
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 -->
* <validators>