You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2020/12/19 19:47:46 UTC

[commons-lang] branch master updated (55570e8 -> 413c5f8)

This is an automated email from the ASF dual-hosted git repository.

kinow pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git.


    from 55570e8  Fix spelling.
     new 1236063  [LANG-1628] Javadoc correction for RandomStringUtils.random() letters, numbers parameters
     new e0de3be  [LANG-1628] changelog
     new 413c5f8  Merge branch 'pr-677'

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/changes/changes.xml                                      |  1 +
 .../java/org/apache/commons/lang3/RandomStringUtils.java     | 12 ++++++++----
 2 files changed, 9 insertions(+), 4 deletions(-)


[commons-lang] 01/03: [LANG-1628] Javadoc correction for RandomStringUtils.random() letters, numbers parameters

Posted by ki...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git

commit 123606371b04a45868f38601d0c31316e0419303
Author: avijitchakraborty85@gmail.com <av...@gmail.com>
AuthorDate: Sat Dec 19 09:24:37 2020 +0100

    [LANG-1628] Javadoc correction for RandomStringUtils.random() letters, numbers parameters
---
 .../java/org/apache/commons/lang3/RandomStringUtils.java     | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
index b9f5b11..cbf6dbc 100644
--- a/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RandomStringUtils.java
@@ -309,8 +309,10 @@ public class RandomStringUtils {
      * @param count  the length of random string to create
      * @param start  the position in set of chars to start at
      * @param end  the position in set of chars to end before
-     * @param letters  only allow letters?
-     * @param numbers  only allow numbers?
+     * @param letters  if {@code true}, generated string may include
+     *  alphabetic characters
+     * @param numbers  if {@code true}, generated string may include
+     *  numeric characters
      * @param chars  the set of chars to choose randoms from.
      *  If {@code null}, then it will use the set of all chars.
      * @return the random string
@@ -343,8 +345,10 @@ public class RandomStringUtils {
      * @param count  the length of random string to create
      * @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 letters  only allow letters?
-     * @param numbers  only allow numbers?
+     * @param letters  if {@code true}, generated string may include
+     *  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.
      *  If {@code null}, then it will use the set of all chars.
      * @param random  a source of randomness.


[commons-lang] 03/03: Merge branch 'pr-677'

Posted by ki...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git

commit 413c5f8e89546579afa907c7f18a3762d4a6d0ea
Merge: 55570e8 e0de3be
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
AuthorDate: Sun Dec 20 08:43:26 2020 +1300

    Merge branch 'pr-677'
    
    This closes #677

 src/changes/changes.xml                                      |  1 +
 .../java/org/apache/commons/lang3/RandomStringUtils.java     | 12 ++++++++----
 2 files changed, 9 insertions(+), 4 deletions(-)


[commons-lang] 02/03: [LANG-1628] changelog

Posted by ki...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git

commit e0de3be47c58eb9bd7816963770e785d989f2bfc
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
AuthorDate: Sun Dec 20 08:42:48 2020 +1300

    [LANG-1628] changelog
---
 src/changes/changes.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d307933..1362550 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -71,6 +71,7 @@ The <action> type attribute can be add,update,fix,remove.
     <action issue="LANG-1584" type="fix" dev="ggregory" due-to="Arturo Bernal">Refine StringUtils.isNumericSpace #573.</action>
     <action issue="LANG-1580" type="fix" dev="ggregory" due-to="Arturo Bernal">Refine StringUtils.deleteWhitespace #569.</action>
     <action issue="LANG-1626" type="fix" dev="ggregory" due-to="Kanak Sony">Correction in Javadoc of some methods. #673</action>
+    <action issue="LANG-1628" type="fix" dev="kinow" due-to="Jarkko Rantavuori">Javadoc for RandomStringUtils.random() letters, numbers parameters is wrong</action>
     <!--  ADDS -->
     <action                   type="add" dev="ggregory" due-to="Gary Gregory">Add BooleanUtils.booleanValues().</action>
     <action                   type="add" dev="ggregory" due-to="Gary Gregory">Add BooleanUtils.primitiveValues().</action>