aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
diff options
context:
space:
mode:
authorduncan <duncan@wortharead.com>2016-12-14 20:46:10 +0000
committerduncan <duncan@wortharead.com>2016-12-14 20:46:10 +0000
commitcdfb2aa1e1ae3029e5d73cb3b5ca90c7df222c8a (patch)
treed41b58dfe8d750fcf3c365c80d0355358a32d563 /src/main/java/org/apache/commons/lang3/RandomStringUtils.java
parent7f7fa03eac02850550cb28f370a4d2adbb2295fb (diff)
downloadapache-commons-lang-cdfb2aa1e1ae3029e5d73cb3b5ca90c7df222c8a.tar.gz
Improve description of alphabetic and alphanumeric.
Diffstat (limited to 'src/main/java/org/apache/commons/lang3/RandomStringUtils.java')
-rw-r--r--src/main/java/org/apache/commons/lang3/RandomStringUtils.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
index bbb5e78da..549bea2ca 100644
--- a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
@@ -102,8 +102,8 @@ public class RandomStringUtils {
* <p>Creates a random string whose length is the number of characters
* specified.</p>
*
- * <p>Characters will be chosen from the set of alphabetic
- * characters.</p>
+ * <p>Characters will be chosen from the set of Latin alphabetic
+ * characters (a-z, A-Z).</p>
*
* @param count the length of random string to create
* @return the random string
@@ -116,7 +116,7 @@ public class RandomStringUtils {
* <p>Creates a random string whose length is between the inclusive minimum and
* the exclusive maximum.</p>
*
- * <p>Characters will be chosen from the set of alphabetic characters.</p>
+ * <p>Characters will be chosen from the set of Latin alphabetic characters (a-z, A-Z).</p>
*
* @param minLengthInclusive the inclusive minimum length of the string to generate
* @param maxLengthExclusive the exclusive maximum length of the string to generate
@@ -131,8 +131,8 @@ public class RandomStringUtils {
* <p>Creates a random string whose length is the number of characters
* specified.</p>
*
- * <p>Characters will be chosen from the set of alpha-numeric
- * characters.</p>
+ * <p>Characters will be chosen from the set of Latin alphabetic
+ * characters (a-z, A-Z) and the digits 0-9.</p>
*
* @param count the length of random string to create
* @return the random string
@@ -145,7 +145,8 @@ public class RandomStringUtils {
* <p>Creates a random string whose length is between the inclusive minimum and
* the exclusive maximum.</p>
*
- * <p>Characters will be chosen from the set of alpha-numeric characters.</p>
+ * <p>Characters will be chosen from the set of Latin alphabetic
+ * characters (a-z, A-Z) and the digits 0-9.</p>
*
* @param minLengthInclusive the inclusive minimum length of the string to generate
* @param maxLengthExclusive the exclusive maximum length of the string to generate