Update for reactor-core change

This commit is contained in:
Rossen Stoyanchev
2017-07-18 04:09:25 +02:00
parent b0422d02dc
commit 7a0e5a378a

View File

@@ -62,10 +62,10 @@ public class ChannelSendOperator<T> extends Mono<Void> 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;