From 6a8b837622e0410e8568b0d75fcb3c0831b3d3c2 Mon Sep 17 00:00:00 2001 From: Miki Rozloznik Date: Mon, 9 Dec 2024 15:26:51 +0100 Subject: [PATCH] Final cleaning --- ant_task/src/zserio/ant/ToolWrapper.java | 1 - compiler/core/src/zserio/tools/ExtensionManager.java | 8 -------- 2 files changed, 9 deletions(-) diff --git a/ant_task/src/zserio/ant/ToolWrapper.java b/ant_task/src/zserio/ant/ToolWrapper.java index a6583361a..c0a720947 100644 --- a/ant_task/src/zserio/ant/ToolWrapper.java +++ b/ant_task/src/zserio/ant/ToolWrapper.java @@ -4,7 +4,6 @@ import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.net.MalformedURLException; -import java.net.URI; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; diff --git a/compiler/core/src/zserio/tools/ExtensionManager.java b/compiler/core/src/zserio/tools/ExtensionManager.java index 0cbf3cff0..f0d7682d0 100644 --- a/compiler/core/src/zserio/tools/ExtensionManager.java +++ b/compiler/core/src/zserio/tools/ExtensionManager.java @@ -120,11 +120,8 @@ private ClassLoader getClassLoader() { for (File file : fileList) { - System.out.println("Found file: " + file); if (isFileZserioExtension(file)) { - System.out.println("file.toURI() = " + file.toURI()); - System.out.println("file.toURI().toURL() = " + file.toURI().toURL()); urlArray.add(file.toURI().toURL()); urlArray.addAll(getDependentJarsFromManifest(file)); } @@ -132,7 +129,6 @@ private ClassLoader getClassLoader() } catch (MalformedURLException excpt) { - System.out.println("Exception!" + excpt.toString()); return currentClassLoader; } @@ -147,11 +143,8 @@ private File getWorkingDirectory() try { final URI execUri = getClass().getProtectionDomain().getCodeSource().getLocation().toURI(); - System.out.println("execUri = " + execUri); final Path execPath = Paths.get(execUri); - System.out.println("execPath = " + execPath); final Path execParentPath = execPath.getParent(); - System.out.println("execParentPath = " + execParentPath); return (execParentPath == null) ? null : execParentPath.toFile(); } @@ -200,7 +193,6 @@ private List getDependentJarsFromManifest(File file) for (String classPath : classPaths.split("\\s+")) { final File dependentJarFile = new File(parentFile, classPath); - System.out.println("Found dependent file: " + dependentJarFile); dependentJars.add(dependentJarFile.toURI().toURL()); } }