From 90df7dd279a3c09ae0a022386319df2aacbb52d6 Mon Sep 17 00:00:00 2001 From: Sebastien Deleuze Date: Fri, 2 Jun 2017 14:13:31 +0200 Subject: [PATCH] Add missing @Nullable annotation Issue: SPR-15540 --- .../java/org/springframework/core/ReactiveAdapterRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }