You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2020/12/19 19:47:47 UTC
[commons-lang] 01/03: [LANG-1628] Javadoc correction for
RandomStringUtils.random() letters, numbers parameters
This is an automated email from the ASF dual-hosted git repository.
kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 123606371b04a45868f38601d0c31316e0419303
Author: avijitchakraborty85@gmail.com <av...@gmail.com>
AuthorDate: Sat Dec 19 09:24:37 2020 +0100
[LANG-1628] Javadoc correction for RandomStringUtils.random() letters, numbers parameters
---
.../java/org/apache/commons/lang3/RandomStringUtils.java | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
index b9f5b11..cbf6dbc 100644
--- a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
@@ -309,8 +309,10 @@ 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 only allow letters?
- * @param numbers only allow numbers?
+ * @param letters if {@code true}, generated string may include
+ * alphabetic characters
+ * @param numbers if {@code true}, generated string may include
+ * numeric characters
* @param chars the set of chars to choose randoms from.
* If {@code null}, then it will use the set of all chars.
* @return the random string
@@ -343,8 +345,10 @@ public class RandomStringUtils {
* @param count the length of random string to create
* @param start the position in set of chars to start at (inclusive)
* @param end the position in set of chars to end before (exclusive)
- * @param letters only allow letters?
- * @param numbers only allow numbers?
+ * @param letters if {@code true}, generated string may include
+ * alphabetic characters
+ * @param numbers if {@code true}, generated string may include
+ * numeric characters
* @param chars the set of chars to choose randoms from, must not be empty.
* If {@code null}, then it will use the set of all chars.
* @param random a source of randomness.