LANG-1070: ArrayUtils#add confusing example in javadoc
This commit is contained in:
parent
3b12d4fe5d
commit
4a32861c32
|
@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
|
|||
<body>
|
||||
|
||||
<release version="3.6" date="tba" description="tba">
|
||||
<action issue="LANG-1070" type="fix" dev="pschumacher" due-to="Paul Pogonyshev">ArrayUtils#add confusing example in javadoc</action>
|
||||
<action issue="LANG-1271" type="add" dev="pschumacher" due-to="Pierre Templier">StringUtils#isAnyEmpty and #isAnyBlank should return false for an empty array</action>
|
||||
<action issue="LANG-1270" type="add" dev="pschumacher" due-to="Pierre Templier">Add StringUtils#isAnyNotEmpty and #isAnyNotBlank</action>
|
||||
</release>
|
||||
|
|
|
@ -5332,7 +5332,7 @@ public class ArrayUtils {
|
|||
* in which case the return type is Object[]
|
||||
*
|
||||
* <pre>
|
||||
* ArrayUtils.add(null, null) = [null]
|
||||
* ArrayUtils.add(null, null) = IllegalArgumentException
|
||||
* ArrayUtils.add(null, "a") = ["a"]
|
||||
* ArrayUtils.add(["a"], null) = ["a", null]
|
||||
* ArrayUtils.add(["a"], "b") = ["a", "b"]
|
||||
|
@ -5614,7 +5614,7 @@ public class ArrayUtils {
|
|||
* whose component type is the same as the element.
|
||||
*
|
||||
* <pre>
|
||||
* ArrayUtils.add(null, 0, null) = [null]
|
||||
* ArrayUtils.add(null, 0, null) = IllegalArgumentException
|
||||
* ArrayUtils.add(null, 0, "a") = ["a"]
|
||||
* ArrayUtils.add(["a"], 1, null) = ["a", null]
|
||||
* ArrayUtils.add(["a"], 1, "b") = ["a", "b"]
|
||||
|
|
Loading…
Reference in New Issue