summaryrefslogtreecommitdiffstats
path: root/ajdoc
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-06-02 12:13:06 +0000
committeracolyer <acolyer>2004-06-02 12:13:06 +0000
commit1c61f2c34bfb9f3b5383c930366b8d3243d08f9e (patch)
treeb66e84fc3f0ccfbbcc81b4b06ac3e4619cabfc9f /ajdoc
parent93230d70a35d51693c51a1fa9e549acb31611a10 (diff)
downloadaspectj-1c61f2c34bfb9f3b5383c930366b8d3243d08f9e.tar.gz
aspectj-1c61f2c34bfb9f3b5383c930366b8d3243d08f9e.zip
replace hard-coded use of ';' with File.pathSeparator
Diffstat (limited to 'ajdoc')
-rw-r--r--ajdoc/src/org/aspectj/tools/ajdoc/Main.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/ajdoc/src/org/aspectj/tools/ajdoc/Main.java b/ajdoc/src/org/aspectj/tools/ajdoc/Main.java
index 67c12c7f5..140394abb 100644
--- a/ajdoc/src/org/aspectj/tools/ajdoc/Main.java
+++ b/ajdoc/src/org/aspectj/tools/ajdoc/Main.java
@@ -439,8 +439,8 @@ public class Main implements Config {
static void setSourcepath(String arg) {
sourcepath.clear();
- arg = arg + ";"; // makes things easier for ourselves
- StringTokenizer tokenizer = new StringTokenizer(arg, ";");
+ arg = arg + File.pathSeparator; // makes things easier for ourselves
+ StringTokenizer tokenizer = new StringTokenizer(arg, File.pathSeparator);
while (tokenizer.hasMoreElements()) {
sourcepath.addElement(tokenizer.nextElement());
}
@@ -451,7 +451,7 @@ public class Main implements Config {
for (int i = 0; i < sourcepath.size(); i++) {
cPath += (String)sourcepath.elementAt(i) + Config.DIR_SEP_CHAR + Config.WORKING_DIR;
if (i != sourcepath.size()-1) {
- cPath += ";";
+ cPath += File.pathSeparator;
}
}
return cPath;