Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.34.0
Description
Currently, CollectionsUtils is only used in a few places in the InnoDb adapter, and the only methods used are isEmpty and isNotEmpty.
The only difference between CollectionUtils.isEmpty and list.isEmpty is the behavior if list is null. Modern coding practices would ensure that list is not null unless specified in its type.
So we can safely remove it to avoid using an entire library just for the sake of using isEmpty.
Attachments
Issue Links
- is related to
-
CALCITE-5819 Upgrade commons-collections from 3.x to 4.4
- Closed
- links to