aboutsummaryrefslogtreecommitdiff
path: root/src/changes
diff options
context:
space:
mode:
authorGary Gregory <garydgregory@gmail.com>2021-12-08 13:11:21 -0500
committerGary Gregory <garydgregory@gmail.com>2021-12-08 13:11:21 -0500
commit4369537d8b1387b94a1126a36a4fc400a35d35cc (patch)
treeca3c09d0ac25c5c8c4bccc1e63a6ac40c901dd30 /src/changes
parentd672dafa2ee86c82c25d362e8aae54b8ff558dde (diff)
downloadapache-commons-lang-4369537d8b1387b94a1126a36a4fc400a35d35cc.tar.gz
ArrayUtils.toPrimitive(Boolean...) null array elements map to false,
like Boolean.parseBoolean(null) and its callers return false. This also happens to address issues with catching NPEs reported by Spotbugs 4.5.1 .
Diffstat (limited to 'src/changes')
-rw-r--r--src/changes/changes.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 024d766a5..205c78839 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -66,6 +66,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" dev="ggregory" due-to="CiprianBodnarescu">Use Set instead of List for checking the contains() method #734.</action>
<action type="fix" dev="kinow" due-to="Roland Kreuzer">Javadoc for StringUtils.substringBefore(String str, int separator) doesn't mention that the separator is an int.</action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix NullPointerException in ThreadUtils.getSystemThreadGroup() when the current thread is stopped.</action>
+ <action type="fix" dev="ggregory" due-to="Gary Gregory">ArrayUtils.toPrimitive(Boolean...) null array elements map to false, like Boolean.parseBoolean(null) and its callers return false.</action>
<!-- ADD -->
<action type="add" dev="ggregory" due-to="Gary Gregory">Add EnumUtils.getEnumSystemProperty(...).</action>
<action type="add" dev="ggregory" due-to="Gary Gregory">Add TriConsumer.</action>