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/16 09:43:15 UTC

[groovy] 02/04: Revert "remove codenarc warnings"

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

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

commit f8b6f0959b8bbf3b86ae2df07ba9570a8d4d8e7a
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Apr 16 17:44:24 2019 +1000

    Revert "remove codenarc warnings"
    
    This reverts commit 241eca618c7bff385f9a80117ebddda24d13cdf6.
---
 src/test/groovy/util/ProxyGeneratorTest.groovy | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/groovy/util/ProxyGeneratorTest.groovy b/src/test/groovy/util/ProxyGeneratorTest.groovy
index 5e165c2..53af084 100644
--- a/src/test/groovy/util/ProxyGeneratorTest.groovy
+++ b/src/test/groovy/util/ProxyGeneratorTest.groovy
@@ -93,8 +93,7 @@ class ProxyGeneratorTest extends GroovyTestCase {
         assert 3 == testClass[2]
         testClass[3] = 99
         assert 99 == testClass[3]
-        testClass.removeAt(2)
-        testClass.removeAt(1)
+        testClass.removeRange(1, 3)
         assert [1, 99, 5] == testClass
     }