You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2013/10/16 10:28:42 UTC
svn commit: r1532684 -
/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
Author: bayard
Date: Wed Oct 16 08:28:42 2013
New Revision: 1532684
URL: http://svn.apache.org/r1532684
Log:
Fixing the documentation so that a random string of numbers and letters is not guaranteeing that a number or a letter will appear as reported by Andrzej Winnicki in LANG-902
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java?rev=1532684&r1=1532683&r2=1532684&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/RandomStringUtils.java Wed Oct 16 08:28:42 2013
@@ -133,9 +133,9 @@ public class RandomStringUtils {
* characters as indicated by the arguments.</p>
*
* @param count the length of random string to create
- * @param letters if {@code true}, generated string will include
+ * @param letters if {@code true}, generated string may include
* alphabetic characters
- * @param numbers if {@code true}, generated string will include
+ * @param numbers if {@code true}, generated string may include
* numeric characters
* @return the random string
*/
@@ -153,9 +153,9 @@ public class RandomStringUtils {
* @param count the length of random string to create
* @param start the position in set of chars to start at
* @param end the position in set of chars to end before
- * @param letters if {@code true}, generated string will include
+ * @param letters if {@code true}, generated string may include
* alphabetic characters
- * @param numbers if {@code true}, generated string will include
+ * @param numbers if {@code true}, generated string may include
* numeric characters
* @return the random string
*/