Skip to content

Commit

Permalink
Fix bug in AsyncResponseImpl#register
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand committed Jul 8, 2024
1 parent 7e98e77 commit 5707e14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public Map<Class<?>, Collection<Class<?>>> register(Class<?> callback, Class<?>.
Objects.requireNonNull(callback);
Objects.requireNonNull(callbacks);
Map<Class<?>, Collection<Class<?>>> ret = new HashMap<>();
ret.put(callback.getClass(), register(callback));
ret.put(callback, register(callback));
for (Class<?> cb : callbacks) {
ret.put(cb, register(cb));
}
Expand Down

0 comments on commit 5707e14

Please sign in to comment.