mirror of
https://github.com/jwdeveloper/TikTokLiveJava.git
synced 2026-02-27 08:49:40 -05:00
Improvement on the ListenersManager
This commit is contained in:
@@ -89,7 +89,6 @@ public class TikTokListenersManager implements ListenersManager {
|
||||
.filter(e -> e.isAnnotationPresent(TikTokEventObserver.class))
|
||||
.filter(e -> e.getParameterCount() >= 1)
|
||||
.map(method -> getSingleMethodInfo(listener, method))
|
||||
.sorted(Comparator.comparingInt(a -> a.getEventType().getName().length()))
|
||||
.sorted(Comparator.comparingInt(a -> a.getPriority().priorityValue))
|
||||
.toList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user