diff options
author | duncan <duncan@wortharead.com> | 2016-12-14 20:46:10 +0000 |
---|---|---|
committer | duncan <duncan@wortharead.com> | 2016-12-14 20:46:10 +0000 |
commit | cdfb2aa1e1ae3029e5d73cb3b5ca90c7df222c8a (patch) | |
tree | d41b58dfe8d750fcf3c365c80d0355358a32d563 /src/main/java/org/apache/commons/lang3/RandomStringUtils.java | |
parent | 7f7fa03eac02850550cb28f370a4d2adbb2295fb (diff) | |
download | apache-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.java | 13 |
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 |