groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 02/05: checkstyle warnings
Date Sun, 28 Apr 2019 09:02:13 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 82532ab119f91e21d14d9aef61eb47b8adfe9501
Author: Paul King <paulk@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"))
 


Mime
View raw message