Use the type of the eventhandler method's parameter as type rather than specificing it. Thanks zml2008.

This commit is contained in:
Erik Broes
2012-01-19 08:13:49 +01:00
parent a4ff34607b
commit 792d2601e6
5 changed files with 16 additions and 7 deletions

View File

@@ -52,6 +52,7 @@ public interface PluginLoader {
* @param type Type of the event executor to create
* @param listener the object that will handle the eventual call back
* @return The new executor
* @deprecated see PluginLoader#createRegisteredListeners
*/
@Deprecated
public EventExecutor createExecutor(Event.Type type, Listener listener);