Use the type of the eventhandler method's parameter as type rather than specificing it. Thanks zml2008.
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user