diff options
author | Gary Gregory <garydgregory@gmail.com> | 2022-03-07 11:16:32 -0500 |
---|---|---|
committer | Gary Gregory <garydgregory@gmail.com> | 2022-03-07 11:16:32 -0500 |
commit | 13121dafece32ba8dc3adbcd3923b46cf75c7fcc (patch) | |
tree | 237ac26f9f3b58e985a9c9e03cc74559182d37f3 /src/changes | |
parent | 72ad3cbc1aabc9c0a3e0846f152172cdca9d42c1 (diff) | |
download | apache-commons-lang-13121dafece32ba8dc3adbcd3923b46cf75c7fcc.tar.gz |
Deprecate Validate#notNull(Object) in favor of using
Objects#requireNonNull(Object, String).
Note that the NPE message are now specific in which parameter is null
instead of using a whole sentence to report what the exception class
says, and less US English-centric.
Diffstat (limited to 'src/changes')
-rw-r--r-- | src/changes/changes.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 6b89e5f03..b49b19af3 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -68,7 +68,7 @@ The <action> type attribute can be add,update,fix,remove. <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> <action type="fix" dev="ggregory" due-to="CodeQL, Gary Gregory">StrBuilder.StrBuilderReader.skip(long): Throw an exception when an implicit narrowing conversion in a compound assignment would result in information loss or a numeric error such as an overflows.</action> - + <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate Validate#notNull(Object) in favor of using Objects#requireNonNull(Object, String).</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> |