0

It seems that org.apache.commons.collections.CollectionUtils doesn't contain isEmpty() anymore.

Is there any other "common" library, which contains the same functionality?

LazR
  • 631
  • 8
  • 18

1 Answers1

-1

The Problem was the version. Imported was 3.1, isEmpty() is from 3.2 available. Solution:

<dependency>
    <groupId>commons-collections</groupId>
    <artifactId>commons-collections</artifactId>
    <version>3.2.2</version>
</dependency>
LazR
  • 631
  • 8
  • 18