diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-03 20:46:04 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-03 20:46:04 +0100 |
commit | 36995a46d1059a8a2e33d9a97731cedabe60ae02 (patch) | |
tree | 321e3622ba170f4083091c8b9d92fc6ddfd62c33 /src | |
parent | 59a617bef275be4ca1a171f2bfd1ecdb603f23b7 (diff) | |
download | bukkit-36995a46d1059a8a2e33d9a97731cedabe60ae02.tar bukkit-36995a46d1059a8a2e33d9a97731cedabe60ae02.tar.gz bukkit-36995a46d1059a8a2e33d9a97731cedabe60ae02.tar.lz bukkit-36995a46d1059a8a2e33d9a97731cedabe60ae02.tar.xz bukkit-36995a46d1059a8a2e33d9a97731cedabe60ae02.zip |
Made JavaPluginLoader non-final
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/plugin/java/JavaPluginLoader.java | 10 |
1 files changed, 5 insertions, 5 deletions
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<String, Class<?>> classes = new HashMap<String, Class<?>>(); - private final Map<String, PluginClassLoader> loaders = new HashMap<String, PluginClassLoader>(); + protected final Map<String, Class<?>> classes = new HashMap<String, Class<?>>(); + protected final Map<String, PluginClassLoader> loaders = new HashMap<String, PluginClassLoader>(); 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(); |