diff --git a/spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java b/spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java index cf72701ec90..194940f7328 100644 --- a/spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java +++ b/spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java @@ -109,7 +109,7 @@ public class ReactiveAdapterRegistry { /** * Get the adapter for the given reactive type. */ - public ReactiveAdapter getAdapter(Class reactiveType) { + public ReactiveAdapter getAdapter(@Nullable Class reactiveType) { return getAdapter(reactiveType, null); }