eventbus: remove method name warning

This commit is contained in:
ThatGamerBlue
2021-02-27 16:46:41 +00:00
parent aa5a10dcc7
commit 3aae0fe569

View File

@@ -137,12 +137,6 @@ public class EventBus
}
}
final String preferredName = "on" + parameterClazz.getSimpleName();
if (!method.getName().equals(preferredName))
{
log.warn("Subscribed method {} should be named {}", method, preferredName);
}
method.setAccessible(true);
SubscriberMethod lambda = null;