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/05/05 22:59:46 UTC

[groovy] 03/04: minor refactor: remove codenarc warnings

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 7310e4e503f8a50fb7a5326a2f235d6faea5c713
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sun May 5 17:59:10 2019 +1000

    minor refactor: remove codenarc warnings
---
 .../src/main/groovy/groovy/util/GroovyShellTestCase.groovy        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/subprojects/groovy-test/src/main/groovy/groovy/util/GroovyShellTestCase.groovy b/subprojects/groovy-test/src/main/groovy/groovy/util/GroovyShellTestCase.groovy
index 463aa65..e2254e4 100644
--- a/subprojects/groovy-test/src/main/groovy/groovy/util/GroovyShellTestCase.groovy
+++ b/subprojects/groovy-test/src/main/groovy/groovy/util/GroovyShellTestCase.groovy
@@ -26,13 +26,13 @@ class GroovyShellTestCase extends GroovyTestCase {
     @Delegate protected GroovyShell shell
 
     protected void setUp() {
-        super.setUp();
-        shell = createNewShell();
+        super.setUp()
+        shell = createNewShell()
     }
 
     protected void tearDown() {
-        shell = null;
-        super.tearDown();
+        shell = null
+        super.tearDown()
     }
 
     /**