From 84d425a19ba2dad91074181851ccf02315457bfb Mon Sep 17 00:00:00 2001 From: chrisala Date: Thu, 16 May 2024 14:06:24 +1000 Subject: [PATCH] size -> size() #947 --- .../groovy/au/org/ala/ecodata/reporting/PropertyAccessor.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/au/org/ala/ecodata/reporting/PropertyAccessor.groovy b/src/main/groovy/au/org/ala/ecodata/reporting/PropertyAccessor.groovy index 178a34e03..17b0ca042 100644 --- a/src/main/groovy/au/org/ala/ecodata/reporting/PropertyAccessor.groovy +++ b/src/main/groovy/au/org/ala/ecodata/reporting/PropertyAccessor.groovy @@ -84,7 +84,7 @@ class PropertyAccessor { results.each { item -> tmpResults.addAll(unrollSingle(item)) } - if (tmpResults.size > 0) { + if (tmpResults.size() > 0) { results = tmpResults } }