[LANG-1628] Javadoc correction for RandomStringUtils.random() letters, numbers parameters

This commit is contained in:
avijitchakraborty85@gmail.com 2020-12-19 09:24:37 +01:00 committed by Bruno P. Kinoshita
parent 55570e8ef7
commit 123606371b
1 changed files with 8 additions and 4 deletions

View File

@ -309,8 +309,10 @@ public static String random(final int count, final int start, final int end, fin
* @param count the length of random string to create * @param count the length of random string to create
* @param start the position in set of chars to start at * @param start the position in set of chars to start at
* @param end the position in set of chars to end before * @param end the position in set of chars to end before
* @param letters only allow letters? * @param letters if {@code true}, generated string may include
* @param numbers only allow numbers? * alphabetic characters
* @param numbers if {@code true}, generated string may include
* numeric characters
* @param chars the set of chars to choose randoms from. * @param chars the set of chars to choose randoms from.
* If {@code null}, then it will use the set of all chars. * If {@code null}, then it will use the set of all chars.
* @return the random string * @return the random string
@ -343,8 +345,10 @@ public static String random(final int count, final int start, final int end, fin
* @param count the length of random string to create * @param count the length of random string to create
* @param start the position in set of chars to start at (inclusive) * @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 end the position in set of chars to end before (exclusive)
* @param letters only allow letters? * @param letters if {@code true}, generated string may include
* @param numbers only allow numbers? * 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. * @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. * If {@code null}, then it will use the set of all chars.
* @param random a source of randomness. * @param random a source of randomness.