[armedbear-cvs] r13100 - trunk/abcl/src/org/armedbear/lisp
Erik Huelsmann
ehuelsmann at common-lisp.net
Fri Dec 17 22:23:24 UTC 2010
Author: ehuelsmann
Date: Fri Dec 17 17:23:24 2010
New Revision: 13100
Log:
Remove dead code and unused imports from Pathname.
Modified:
trunk/abcl/src/org/armedbear/lisp/Pathname.java
Modified: trunk/abcl/src/org/armedbear/lisp/Pathname.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/Pathname.java (original)
+++ trunk/abcl/src/org/armedbear/lisp/Pathname.java Fri Dec 17 17:23:24 2010
@@ -38,14 +38,11 @@
import java.io.IOException;
import java.io.InputStream;
import java.io.FileInputStream;
-import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
-import java.net.URLDecoder;
import java.net.URLConnection;
-import java.net.URLEncoder;
import java.util.Enumeration;
import java.util.StringTokenizer;
import java.util.zip.ZipEntry;
@@ -2097,21 +2094,6 @@
}
- /** Make a JarURL from a Pathname that references a file */
- private static URL makeJarURL(Pathname p) {
- String jarURL = "jar:file:" + p.getNamestring() + "!/";
- URL result = null;
- try {
- result = new URL(jarURL);
- } catch (MalformedURLException ex) {
- // XXX
- Debug.trace("Could not form URL from pathname "
- + "'" + jarURL + "'"
- + " because " + ex);
- }
- return result;
- }
-
protected static URL makeURL(Pathname pathname) {
URL result = null;
try {
More information about the armedbear-cvs
mailing list