From 7a0e5a378a04817805ddaac30310fb10b12970b7 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Tue, 18 Jul 2017 04:09:25 +0200 Subject: [PATCH] Update for reactor-core change --- .../http/server/reactive/ChannelSendOperator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/server/reactive/ChannelSendOperator.java b/spring-web/src/main/java/org/springframework/http/server/reactive/ChannelSendOperator.java index fd358f5977..f240d227de 100644 --- a/spring-web/src/main/java/org/springframework/http/server/reactive/ChannelSendOperator.java +++ b/spring-web/src/main/java/org/springframework/http/server/reactive/ChannelSendOperator.java @@ -62,10 +62,10 @@ public class ChannelSendOperator extends Mono implements Scannable { @Nullable @SuppressWarnings("rawtypes") public Object scanUnsafe(Attr key) { - if (key == IntAttr.PREFETCH) { + if (key == Attr.PREFETCH) { return Integer.MAX_VALUE; } - if (key == ScannableAttr.PARENT) { + if (key == Attr.PARENT) { return this.source; } return null;