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:16 UTC
[groovy] 03/04: remove codenarc warnings (take 2)
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 16a2d4267f4d4cc55d3f6e3107383743ec2b9c2e
Author: Paul King <pa...@asert.com.au>
AuthorDate: Tue Apr 16 17:46:10 2019 +1000
remove codenarc warnings (take 2)
---
src/test/groovy/util/ProxyGeneratorTest.groovy | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/test/groovy/util/ProxyGeneratorTest.groovy b/src/test/groovy/util/ProxyGeneratorTest.groovy
index 53af084..5e165c2 100644
--- a/src/test/groovy/util/ProxyGeneratorTest.groovy
+++ b/src/test/groovy/util/ProxyGeneratorTest.groovy
@@ -93,7 +93,8 @@ class ProxyGeneratorTest extends GroovyTestCase {
assert 3 == testClass[2]
testClass[3] = 99
assert 99 == testClass[3]
- testClass.removeRange(1, 3)
+ testClass.removeAt(2)
+ testClass.removeAt(1)
assert [1, 99, 5] == testClass
}