aboutsummaryrefslogtreecommitdiffstats
path: root/poi-excelant
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-12-30 21:35:45 +0000
committerPJ Fanning <fanningpj@apache.org>2021-12-30 21:35:45 +0000
commitc8fc960d2dd31333ce5de03e5efa5dc11b3e019e (patch)
tree30c29c10c32cd74ee1e2d539c813c03166db13d5 /poi-excelant
parent9345c84194c677ce9bc1caab386e4d7936771e35 (diff)
downloadpoi-c8fc960d2dd31333ce5de03e5efa5dc11b3e019e.tar.gz
poi-c8fc960d2dd31333ce5de03e5efa5dc11b3e019e.zip
use isEmpty()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1896547 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-excelant')
-rw-r--r--poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntTest.java b/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntTest.java
index 36696d03f8..b2be5c5038 100644
--- a/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntTest.java
+++ b/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntTest.java
@@ -191,7 +191,7 @@ public class ExcelAntTest extends Task{
" of " + testCount + " evaluations failed to " +
"evaluate correctly.",
Project.MSG_ERR );
- if(showFailureDetail && failureMessages.size() > 0 ) {
+ if(showFailureDetail && !failureMessages.isEmpty()) {
for (String failureMessage : failureMessages) {
log(failureMessage, Project.MSG_ERR);
}