Fix failing tests due to last commit

This commit is contained in:
Rossen Stoyanchev 2017-04-03 09:38:08 -04:00
parent 62c1e44db2
commit 37f9c86758
1 changed files with 1 additions and 1 deletions

View File

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