From 61e82e832e31037810cec0c526ecd83fbeb62227 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Sun, 15 Nov 2020 17:42:04 -0500 Subject: [PATCH] [LANG-1615] ArrayUtils contains() and indexOf() fails to handle Float.NaN. --- src/changes/changes.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index d933a3b9f..592948941 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -56,7 +56,8 @@ The type attribute can be add,update,fix,remove. StringUtils.countMatches - clarify Javadoc. Remove redundant argument from substring call. BigDecimal is created when you pass it the min and max values, #642. - ArrayUtils.contains() and indexOf() fails to handle Double.NaN #647. + ArrayUtils.contains() and indexOf() fail to handle Double.NaN #647. + ArrayUtils contains() and indexOf() fail to handle Float.NaN # #561. Fix potential NPE in TypeUtils.isAssignable(Type, ParameterizedType, Map, Type>). TypeUtils.isAssignable returns wrong result for GenericArrayType and ParameterizedType, #643. testGetAllFields and testGetFieldsWithAnnotation sometimes fail.