|
|
@ -69,8 +69,7 @@ public class SearchPath { |
|
|
|
String name = ze.getName(); |
|
|
|
String name = ze.getName(); |
|
|
|
if (name.endsWith("/")) |
|
|
|
if (name.endsWith("/")) |
|
|
|
name = name.substring(0, name.length()-1); |
|
|
|
name = name.substring(0, name.length()-1); |
|
|
|
if (ze.isDirectory() && !zipEntries[nr].containsKey(name)) |
|
|
|
if (!ze.isDirectory() && name.endsWith(".class")) |
|
|
|
zipEntries[nr].put(name, new Vector()); |
|
|
|
|
|
|
|
addEntry(zipEntries[nr], name); |
|
|
|
addEntry(zipEntries[nr], name); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -130,8 +129,7 @@ public class SearchPath { |
|
|
|
String name = ze.getName(); |
|
|
|
String name = ze.getName(); |
|
|
|
if (name.endsWith("/")) |
|
|
|
if (name.endsWith("/")) |
|
|
|
name = name.substring(0, name.length()-1); |
|
|
|
name = name.substring(0, name.length()-1); |
|
|
|
if (ze.isDirectory() && !zipEntries[nr].containsKey(name)) |
|
|
|
if (!ze.isDirectory() && name.endsWith(".class")) |
|
|
|
zipEntries[nr].put(name, new Vector()); |
|
|
|
|
|
|
|
addEntry(zipEntries[nr], name); |
|
|
|
addEntry(zipEntries[nr], name); |
|
|
|
zis.closeEntry(); |
|
|
|
zis.closeEntry(); |
|
|
|
} |
|
|
|
} |
|
|
|