groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 03/05: fix codenarc warnings
Date Sun, 28 Apr 2019 09:02:14 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 a679946e1cb6abf26146530267acced39007b36a
Author: Paul King <paulk@asert.com.au>
AuthorDate: Sun Apr 28 00:22:38 2019 +1000

    fix codenarc warnings
---
 src/test/org/codehaus/groovy/classgen/GenericsGenTest.groovy | 2 +-
 src/test/org/codehaus/groovy/classgen/InterfaceTest.groovy   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/org/codehaus/groovy/classgen/GenericsGenTest.groovy b/src/test/org/codehaus/groovy/classgen/GenericsGenTest.groovy
index f3d39f9..35f4ef7 100644
--- a/src/test/org/codehaus/groovy/classgen/GenericsGenTest.groovy
+++ b/src/test/org/codehaus/groovy/classgen/GenericsGenTest.groovy
@@ -88,6 +88,6 @@ class GenericsGenTest extends GroovyTestCase {
         File tempFile = File.createTempDir(prefix, suffix)
         tempFile.deleteOnExit()
         filesToDelete.add(tempFile)
-        return tempFile;
+        return tempFile
     }
 }
diff --git a/src/test/org/codehaus/groovy/classgen/InterfaceTest.groovy b/src/test/org/codehaus/groovy/classgen/InterfaceTest.groovy
index f267287..f57a71b 100644
--- a/src/test/org/codehaus/groovy/classgen/InterfaceTest.groovy
+++ b/src/test/org/codehaus/groovy/classgen/InterfaceTest.groovy
@@ -82,6 +82,6 @@ class InterfaceTest extends GroovyTestCase {
         File tempFile = File.createTempDir(prefix, suffix);
         tempFile.deleteOnExit()
         filesToDelete.add(tempFile)
-        return tempFile;
+        return tempFile
     }
 }


Mime
View raw message