mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 00:38:16 +00:00
ClassPath back to it's original state
This commit is contained in:
@@ -34,23 +34,21 @@ import org.parabot.core.ui.components.VerboseLoader;
|
|||||||
* @author Matt
|
* @author Matt
|
||||||
*/
|
*/
|
||||||
public class ClassPath {
|
public class ClassPath {
|
||||||
public final HashMap<String, ClassNode> classes;
|
public final HashMap<String, ClassNode> classes = new HashMap<String, ClassNode>();
|
||||||
public final Map<String, URL> resources;
|
public final Map<String, URL> resources = new HashMap<String, URL>();
|
||||||
private boolean isJar;
|
|
||||||
private boolean parseJar;
|
private boolean isJar = false;
|
||||||
private ArrayList<URL> jarFiles;
|
private boolean parseJar = true;
|
||||||
|
private ArrayList<URL> jarFiles = new ArrayList<URL>();
|
||||||
|
|
||||||
public URL lastParsed = null;
|
public URL lastParsed = null;
|
||||||
|
|
||||||
public ClassPath() {
|
public ClassPath() {
|
||||||
this(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ClassPath(final boolean isJar) {
|
public ClassPath(final boolean isJar) {
|
||||||
this.isJar = isJar;
|
this.isJar = isJar;
|
||||||
this.classes = new HashMap<String, ClassNode>();
|
|
||||||
this.resources = new HashMap<String, URL>();
|
|
||||||
this.jarFiles = new ArrayList<URL>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addJar(final File file) {
|
public void addJar(final File file) {
|
||||||
|
|||||||
Reference in New Issue
Block a user