This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-logging.git
The following commit(s) were added to refs/heads/master by this push:
new 726ab53 Use import instead of FQCN
726ab53 is described below
commit 726ab535ff1049e6742b861374ce0abab3f4dcc4
Author: Gary D. Gregory <[email protected]>
AuthorDate: Fri Jun 20 08:08:36 2025 -0400
Use import instead of FQCN
---
src/test/java/org/apache/commons/logging/PathableClassLoader.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/logging/PathableClassLoader.java
b/src/test/java/org/apache/commons/logging/PathableClassLoader.java
index edac253..a13499e 100644
--- a/src/test/java/org/apache/commons/logging/PathableClassLoader.java
+++ b/src/test/java/org/apache/commons/logging/PathableClassLoader.java
@@ -19,6 +19,7 @@ package org.apache.commons.logging;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
+import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.ArrayList;
@@ -129,7 +130,7 @@ public class PathableClassLoader extends URLClassLoader {
}
addURL(file.toURI().toURL());
return;
- } catch (final java.net.MalformedURLException e) {
+ } catch (final MalformedURLException e) {
throw new UnknownError(
"Invalid file [" + fileName + "] for logical lib [" +
logicalLib + "]");
}