groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 03/04: minor refactor: remove codenarc warnings
Date Sun, 05 May 2019 22:59:46 GMT
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 <paulk@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()
     }
 
     /**


Mime
View raw message