-
Couldn't load subscription status.
- Fork 38.8k
Closed as not planned
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another
Description
Hi.
Currently in org.springframework.util.CollectionUtils there is only isEmpty() method, and the isNotEmpty() method would help to avoid !CollectionUtils.isEmpty(), making the code more readable and standardized.
public static boolean isNotEmpty(@Nullable Collection<?> collection) { return !isEmpty(collection); }
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by another