Make private PluginManager.clearPluginObjects, .startupPlugins

This commit is contained in:
Andrew Grieve 2014-07-14 14:30:10 -04:00
parent a03fdaba39
commit a99c8219bd

View File

@ -82,19 +82,10 @@ public class PluginManager {
this.startupPlugins(); this.startupPlugins();
} }
/**
* Delete all plugin objects.
*/
@Deprecated // Should not be exposed as public.
public void clearPluginObjects() {
pluginMap.clear();
}
/** /**
* Create plugins objects that have onload set. * Create plugins objects that have onload set.
*/ */
@Deprecated // Should not be exposed as public. private void startupPlugins() {
public void startupPlugins() {
for (PluginEntry entry : entryMap.values()) { for (PluginEntry entry : entryMap.values()) {
if (entry.onload) { if (entry.onload) {
getPlugin(entry.service); getPlugin(entry.service);