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/28 06:03:30 UTC
[groovy] 03/05: fix 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 08cde8bef612639125a0841c295c8c2a358c32bc
Author: Paul King <pa...@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
}
}