This is an automated email from the ASF dual-hosted git repository.

paulk-asert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new d005a7208c lint fix
d005a7208c is described below

commit d005a7208c1d7efa548b4c74ca2ad04bf6980ee5
Author: Paul King <[email protected]>
AuthorDate: Mon Sep 7 10:18:59 2026 +1000

    lint fix
---
 .../org/apache/groovy/concurrent/java/ModuleSelfContainmentTest.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/subprojects/groovy-concurrent-java/src/test/java/org/apache/groovy/concurrent/java/ModuleSelfContainmentTest.java
 
b/subprojects/groovy-concurrent-java/src/test/java/org/apache/groovy/concurrent/java/ModuleSelfContainmentTest.java
index 98f0607261..0c07b8a909 100644
--- 
a/subprojects/groovy-concurrent-java/src/test/java/org/apache/groovy/concurrent/java/ModuleSelfContainmentTest.java
+++ 
b/subprojects/groovy-concurrent-java/src/test/java/org/apache/groovy/concurrent/java/ModuleSelfContainmentTest.java
@@ -25,6 +25,7 @@ import java.io.ByteArrayInputStream;
 import java.io.DataInputStream;
 import java.io.IOException;
 import java.io.InputStream;
+import java.net.URI;
 import java.net.URL;
 import java.net.URLClassLoader;
 import java.nio.file.Path;
@@ -119,7 +120,7 @@ class ModuleSelfContainmentTest {
 
     private static Path moduleJar() {
         URL location = 
ChannelSelect.class.getProtectionDomain().getCodeSource().getLocation();
-        Path path = Paths.get(java.net.URI.create(location.toString()));
+        Path path = Paths.get(URI.create(location.toString()));
         assertTrue(path.getFileName().toString().endsWith(".jar"),
                 () -> "the API should be loaded from the module jar, not from 
" + path);
         return path;

Reply via email to