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