aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorwisberg <wisberg>2004-10-06 08:35:59 +0000
committerwisberg <wisberg>2004-10-06 08:35:59 +0000
commita0ec8d0fb07352f54dc7dde4a6db1521f45fb8a6 (patch)
tree3a0ecf1a2a496f54489fd3b35dbd4be7206d53a1 /util
parent90d3f9f305bc825480c4f9504b3eb635ce5e903c (diff)
downloadaspectj-a0ec8d0fb07352f54dc7dde4a6db1521f45fb8a6.tar.gz
aspectj-a0ec8d0fb07352f54dc7dde4a6db1521f45fb8a6.zip
removing unused parameter
Diffstat (limited to 'util')
-rw-r--r--util/src/org/aspectj/util/LangUtil.java7
1 files 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);
}