From 36995a46d1059a8a2e33d9a97731cedabe60ae02 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Sat, 3 Sep 2011 20:46:04 +0100 Subject: Made JavaPluginLoader non-final --- src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java b/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java index e209b718..a320e49e 100644 --- a/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java +++ b/src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java @@ -33,13 +33,13 @@ import org.yaml.snakeyaml.error.YAMLException; /** * Represents a Java plugin loader, allowing plugins in the form of .jar */ -public final class JavaPluginLoader implements PluginLoader { +public class JavaPluginLoader implements PluginLoader { private final Server server; - private final Pattern[] fileFilters = new Pattern[] { + protected final Pattern[] fileFilters = new Pattern[] { Pattern.compile("\\.jar$"), }; - private final Map> classes = new HashMap>(); - private final Map loaders = new HashMap(); + protected final Map> classes = new HashMap>(); + protected final Map loaders = new HashMap(); public JavaPluginLoader(Server instance) { server = instance; @@ -182,7 +182,7 @@ public final class JavaPluginLoader implements PluginLoader { return (Plugin) result; } - private File getDataFolder(File file) { + protected File getDataFolder(File file) { File dataFolder = null; String filename = file.getName(); -- cgit v1.2.3