It seems that org.apache.commons.collections.CollectionUtils doesn't contain isEmpty() anymore.
Is there any other "common" library, which contains the same functionality?
It seems that org.apache.commons.collections.CollectionUtils doesn't contain isEmpty() anymore.
Is there any other "common" library, which contains the same functionality?
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>