You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/04/19 01:43:48 UTC

[groovy] 07/17: fix unintended illegal access

This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 32b627291a4e7d6809b93c3911e403acdcec8a66
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Apr 18 12:35:22 2019 +1000

    fix unintended illegal access
---
 .../src/test/groovy/groovy/jmx/builder/JmxBeansFactoryTest.groovy       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/subprojects/groovy-jmx/src/test/groovy/groovy/jmx/builder/JmxBeansFactoryTest.groovy b/subprojects/groovy-jmx/src/test/groovy/groovy/jmx/builder/JmxBeansFactoryTest.groovy
index 0340419..ddca2fe 100644
--- a/subprojects/groovy-jmx/src/test/groovy/groovy/jmx/builder/JmxBeansFactoryTest.groovy
+++ b/subprojects/groovy-jmx/src/test/groovy/groovy/jmx/builder/JmxBeansFactoryTest.groovy
@@ -33,7 +33,7 @@ class JmxBeansFactoryTest extends GroovyTestCase {
         def maps = builder.beans(obj1, obj2)
 
         assert maps
-        assert maps.size == 2
+        assert maps.size() == 2
 
         // test MockManagedObject map
         def map = maps[0]