Repository: commons-lang
Updated Branches:
  refs/heads/master ec2fa6bd5 -> a06c99b9c


LANG-1224: Extend RandomStringUtils with methods that generate strings between 
a min and max length

add missing since javadoc tags


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/a06c99b9
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/a06c99b9
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/a06c99b9

Branch: refs/heads/master
Commit: a06c99b9c094d66f0d33bd69e15fe01ba52a8b05
Parents: ec2fa6b
Author: pascalschumacher <pascalschumac...@gmx.net>
Authored: Sun Aug 21 15:50:31 2016 +0200
Committer: pascalschumacher <pascalschumac...@gmx.net>
Committed: Sun Aug 21 15:50:31 2016 +0200

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/RandomStringUtils.java | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/a06c99b9/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 fdcf87f..84b30fd 100644
--- a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
@@ -92,6 +92,7 @@ public class RandomStringUtils {
      * @param minLengthInclusive the inclusive minimum length of the string to 
generate
      * @param maxLengthExclusive the exclusive maximum length of the string to 
generate
      * @return the random string
+     * @since 3.5
      */
     public static String randomAscii(final int minLengthInclusive, final int 
maxLengthExclusive) {
         return randomAscii(RandomUtils.nextInt(minLengthInclusive, 
maxLengthExclusive));
@@ -120,6 +121,7 @@ public class RandomStringUtils {
      * @param minLengthInclusive the inclusive minimum length of the string to 
generate
      * @param maxLengthExclusive the exclusive maximum length of the string to 
generate
      * @return the random string
+     * @since 3.5
      */
     public static String randomAlphabetic(final int minLengthInclusive, final 
int maxLengthExclusive) {
         return randomAlphabetic(RandomUtils.nextInt(minLengthInclusive, 
maxLengthExclusive));
@@ -148,6 +150,7 @@ public class RandomStringUtils {
      * @param minLengthInclusive the inclusive minimum length of the string to 
generate
      * @param maxLengthExclusive the exclusive maximum length of the string to 
generate
      * @return the random string
+     * @since 3.5
      */
     public static String randomAlphanumeric(final int minLengthInclusive, 
final int maxLengthExclusive) {
         return randomAlphanumeric(RandomUtils.nextInt(minLengthInclusive, 
maxLengthExclusive));
@@ -177,6 +180,7 @@ public class RandomStringUtils {
      * @param minLengthInclusive the inclusive minimum length of the string to 
generate
      * @param maxLengthExclusive the exclusive maximum length of the string to 
generate
      * @return the random string
+     * @since 3.5
      */
     public static String randomGraph(final int minLengthInclusive, final int 
maxLengthExclusive) {
         return randomGraph(RandomUtils.nextInt(minLengthInclusive, 
maxLengthExclusive));
@@ -205,6 +209,7 @@ public class RandomStringUtils {
      * @param minLengthInclusive the inclusive minimum length of the string to 
generate
      * @param maxLengthExclusive the exclusive maximum length of the string to 
generate
      * @return the random string
+     * @since 3.5
      */
     public static String randomNumeric(final int minLengthInclusive, final int 
maxLengthExclusive) {
         return randomNumeric(RandomUtils.nextInt(minLengthInclusive, 
maxLengthExclusive));
@@ -234,6 +239,7 @@ public class RandomStringUtils {
      * @param minLengthInclusive the inclusive minimum length of the string to 
generate
      * @param maxLengthExclusive the exclusive maximum length of the string to 
generate
      * @return the random string
+     * @since 3.5
      */
     public static String randomPrint(final int minLengthInclusive, final int 
maxLengthExclusive) {
         return randomPrint(RandomUtils.nextInt(minLengthInclusive, 
maxLengthExclusive));

Reply via email to