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:29 UTC

[groovy] 02/05: checkstyle 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 840884f3483cb15738c3ccd581be0f003f2e3988
Author: Paul King <pa...@asert.com.au>
AuthorDate: Sat Apr 27 23:51:58 2019 +1000

    checkstyle warnings
---
 src/test/groovy/CompileOrderTest.groovy | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/groovy/CompileOrderTest.groovy b/src/test/groovy/CompileOrderTest.groovy
index 8a89f9d..2fa008c 100644
--- a/src/test/groovy/CompileOrderTest.groovy
+++ b/src/test/groovy/CompileOrderTest.groovy
@@ -19,10 +19,10 @@
 package groovy
 
 class CompileOrderTest extends GroovyTestCase {
-   public void testCompileOrder() {
+   void testCompileOrder() {
       def interfaceFile = File.createTempFile("TestOrderInterface", ".groovy", new File("target"))
       def concreteFile = File.createTempFile("TestOrderConcrete", ".groovy", new File("target"))
-      def cl = new GroovyClassLoader(this.class.classLoader);
+      def cl = new GroovyClassLoader(this.class.classLoader)
       def currentDir = concreteFile.parentFile.absolutePath
       cl.addClasspath(currentDir)
       cl.shouldRecompile = true
@@ -48,7 +48,7 @@ class CompileOrderTest extends GroovyTestCase {
       }
    }
 
-    public void testCompileFileURI() {
+    void testCompileFileURI() {
         def interfaceFile = File.createTempFile("TestURLOrderInterface", ".groovy", new File("target"))
         def concreteFile = File.createTempFile("TestURLOrderConcrete", ".groovy", new File("target"))