SourceMojo : Use isEmpty()
to check whether collection is empty or not
#1746
Labels
isEmpty()
to check whether collection is empty or not
#1746
Description
In Java8 we have List.isEmpty() method to check whether list size is greater than zero.
This line
docker-maven-plugin/src/main/java/io/fabric8/maven/docker/SourceMojo.java
Line 81 in e8207b9
should be changed to
Acceptance Criteria
isEmpty()
methodmvn clean install
is run after making changesThe text was updated successfully, but these errors were encountered: