Browse Source

Add missing @Nullable annotation

Issue: SPR-15540
pull/1221/merge
Sebastien Deleuze 9 years ago
parent
commit
90df7dd279
  1. 2
      spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java

2
spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java

@ -109,7 +109,7 @@ public class ReactiveAdapterRegistry { @@ -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);
}

Loading…
Cancel
Save