You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/06/13 14:58:44 UTC

[commons-lang] branch master updated: [LANG-1564] Use Collections.singletonList insteadof Arrays.asList when there be only one element. #549.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new a21cdb5  [LANG-1564] Use Collections.singletonList insteadof Arrays.asList when there be only one element. #549.
a21cdb5 is described below

commit a21cdb512100349b4021effc9cdb65690c5d1684
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 13 10:58:39 2020 -0400

    [LANG-1564] Use Collections.singletonList insteadof Arrays.asList when
    there be only one element. #549.
---
 src/changes/changes.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 13cf6d2..75cf342 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -65,7 +65,7 @@ The <action> type attribute can be add,update,fix,remove.
     <action issue="LANG-1550" type="add" dev="ggregory" due-to="Edgar Asatryan">Optimize ArrayUtils::isArrayIndexValid method. #551.</action>
     <action issue="LANG-1561" type="add" dev="ggregory" due-to="XenoAmess">Use List.sort instead of Collection.sort #546.</action>
     <action issue="LANG-1563" type="add" dev="ggregory" due-to="XenoAmess">Use StandardCharsets.UTF_8 #548.</action>
-    <action issue="LANG-1562" type="add" dev="ggregory" due-to="XenoAmess">Use Math.max and min #547.</action>
+    <action issue="LANG-1564" type="add" dev="ggregory" due-to="XenoAmess">[LANG-1564] use Collections.singletonList insteadof Arrays.asList when there be only one element. #549.</action>
   </release>
 
   <release version="3.10" date="2020-03-22" description="New features and bug fixes. Requires Java 8, supports Java 9, 10, 11.">