Repository: commons-lang Updated Branches: refs/heads/master 7f7fa03ea -> cdfb2aa1e
Improve description of alphabetic and alphanumeric. Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/cdfb2aa1 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/cdfb2aa1 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/cdfb2aa1 Branch: refs/heads/master Commit: cdfb2aa1e1ae3029e5d73cb3b5ca90c7df222c8a Parents: 7f7fa03 Author: duncan <dun...@wortharead.com> Authored: Wed Dec 14 20:46:10 2016 +0000 Committer: duncan <dun...@wortharead.com> Committed: Wed Dec 14 20:46:10 2016 +0000 ---------------------------------------------------------------------- .../org/apache/commons/lang3/RandomStringUtils.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/cdfb2aa1/src/main/java/org/apache/commons/lang3/RandomStringUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java index bbb5e78..549bea2 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