Merge branch '6.2.x'

This commit is contained in:
Sébastien Deleuze
2024-11-28 15:17:06 +01:00

View File

@@ -138,6 +138,7 @@ public abstract class ObjectUtils {
* @see CollectionUtils#isEmpty(java.util.Collection)
* @see CollectionUtils#isEmpty(java.util.Map)
*/
@Contract("null -> true")
public static boolean isEmpty(@Nullable Object obj) {
if (obj == null) {
return true;