Skip to content

Commit 044ea17

Browse files
committed
Polishing
1 parent 23e6171 commit 044ea17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ public ReactiveAdapterRegistry() {
9797
// We can fall back on "reactive-streams-flow-bridge" (once released)
9898

9999
// Coroutines
100-
if (reactorPresent && ClassUtils.isPresent("kotlinx.coroutines.Deferred", classLoader)) {
100+
if (this.reactorPresent && ClassUtils.isPresent("kotlinx.coroutines.Deferred", classLoader)) {
101101
new CoroutinesRegistrar().registerAdapters(this);
102102
}
103103
// TODO Use a single CoroutinesRegistrar when Flow will be not experimental anymore
104-
if (reactorPresent && ClassUtils.isPresent("kotlinx.coroutines.flow.Flow", classLoader)) {
104+
if (this.reactorPresent && ClassUtils.isPresent("kotlinx.coroutines.flow.Flow", classLoader)) {
105105
new CoroutinesFlowRegistrar().registerAdapters(this);
106106
}
107107
}

0 commit comments

Comments
 (0)