From a0ec8d0fb07352f54dc7dde4a6db1521f45fb8a6 Mon Sep 17 00:00:00 2001 From: wisberg Date: Wed, 6 Oct 2004 08:35:59 +0000 Subject: [PATCH] removing unused parameter --- util/src/org/aspectj/util/LangUtil.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/util/src/org/aspectj/util/LangUtil.java b/util/src/org/aspectj/util/LangUtil.java index 0893ca747..dacce5408 100644 --- a/util/src/org/aspectj/util/LangUtil.java +++ b/util/src/org/aspectj/util/LangUtil.java @@ -962,7 +962,7 @@ public class LangUtil { String classpath, String mainClass, String[] args) { - File java = LangUtil.getJavaExecutable(classpath); + File java = LangUtil.getJavaExecutable(); ArrayList cmd = new ArrayList(); cmd.add(java.getAbsolutePath()); cmd.add("-classpath"); @@ -998,10 +998,9 @@ public class LangUtil { /** * Find java executable File path from java.home system property. - * @param classpath ignored for now * @return File associated with the java command, or null if not found. */ - public static File getJavaExecutable(String classpath) { // XXX weak + public static File getJavaExecutable() { String javaHome = null; File result = null; //java.home @@ -1155,7 +1154,7 @@ public class LangUtil { String classpath, String mainClass, String[] args) { - init(LangUtil.getJavaExecutable(classpath), + init(LangUtil.getJavaExecutable(), classpath, mainClass, args); } -- 2.39.5