crossley 02/01/09 00:06:17
Modified: src/java/org/apache/cocoon/environment/commandline
CommandlineContext.java
Log:
Tidy up after fixing bug 5060.
Revision Changes Path
1.2 +0 -3
xml-cocoon2/src/java/org/apache/cocoon/environment/commandline/CommandlineContext.java
Index: CommandlineContext.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/environment/commandline/CommandlineContext.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CommandlineContext.java 3 Jan 2002 12:31:16 -0000 1.1
+++ CommandlineContext.java 9 Jan 2002 08:06:17 -0000 1.2
@@ -37,7 +37,6 @@
public CommandlineContext (String contextDir) {
String contextDirPath = new File(contextDir).getAbsolutePath();
// store contextDirPath as is don't remove trailing /.
- // fix BUG 5060
this.contextDir = contextDirPath;
this.attributes = new HashMap();
}
@@ -75,7 +74,6 @@
getLogger().debug("CommandlineContext: getResource=" + path);
}
// rely on File to build correct File and URL
- // fix BUG 5060
File f = new File( contextDir, path );
return f.toURL();
}
@@ -85,7 +83,6 @@
getLogger().debug("CommandlineContext: getRealPath=" + path);
}
// rely on File to build correct File and URL
- // fix BUG 5060
File f = new File( this.contextDir, path );
return f.getAbsolutePath();
}
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]