Browse Source

Fix failing tests due to last commit

pull/1376/head
Rossen Stoyanchev 8 years ago
parent
commit
37f9c86758
  1. 2
      spring-core/src/main/java/org/springframework/core/ReactiveAdapterRegistry.java

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

@ -123,7 +123,7 @@ public class ReactiveAdapterRegistry { @@ -123,7 +123,7 @@ public class ReactiveAdapterRegistry {
Object sourceToUse = (source instanceof Optional ? ((Optional<?>) source).orElse(null) : source);
Class<?> clazz = (sourceToUse != null ? sourceToUse.getClass() : reactiveType);
if (reactiveType == null) {
if (clazz == null) {
return null;
}

Loading…
Cancel
Save