From 45bd21154f284434b84886786dc26223273330e6 Mon Sep 17 00:00:00 2001 From: huyongsheng Date: Thu, 7 Nov 2019 18:13:15 +0800 Subject: [PATCH] fix:issues 539 --- .../src/org/greenrobot/eventbus/SubscriberMethodFinder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EventBus/src/org/greenrobot/eventbus/SubscriberMethodFinder.java b/EventBus/src/org/greenrobot/eventbus/SubscriberMethodFinder.java index db5e0ad3..8512b934 100644 --- a/EventBus/src/org/greenrobot/eventbus/SubscriberMethodFinder.java +++ b/EventBus/src/org/greenrobot/eventbus/SubscriberMethodFinder.java @@ -228,9 +228,9 @@ boolean checkAdd(Method method, Class eventType) { // Paranoia check throw new IllegalStateException(); } - // Put any non-Method object to "consume" the existing Method - anyMethodByEventType.put(eventType, this); } + // Put any non-Method object to "consume" the existing Method + anyMethodByEventType.put(eventType, this); return checkAddWithMethodSignature(method, eventType); } }