Remove unnecessary deprecation suppression
This commit is contained in:
parent
b55a2631ba
commit
873cb4e58b
|
@ -60,13 +60,11 @@ class Netty4ClientHttpResponse extends AbstractClientHttpResponse {
|
|||
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
public int getRawStatusCode() throws IOException {
|
||||
return this.nettyResponse.getStatus().code();
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("deprecation")
|
||||
public String getStatusText() throws IOException {
|
||||
return this.nettyResponse.getStatus().reasonPhrase();
|
||||
}
|
||||
|
|
|
@ -50,9 +50,7 @@ public class ChannelSendOperator<T> extends Mono<Void> implements Scannable {
|
|||
private final Flux<T> source;
|
||||
|
||||
|
||||
public ChannelSendOperator(Publisher<? extends T> source, Function<Publisher<T>,
|
||||
Publisher<Void>> writeFunction) {
|
||||
|
||||
public ChannelSendOperator(Publisher<? extends T> source, Function<Publisher<T>, Publisher<Void>> writeFunction) {
|
||||
this.source = Flux.from(source);
|
||||
this.writeFunction = writeFunction;
|
||||
}
|
||||
|
@ -92,8 +90,7 @@ public class ChannelSendOperator<T> extends Mono<Void> implements Scannable {
|
|||
* <p>Also uses {@link WriteCompletionBarrier} to communicate completion
|
||||
* and detect cancel signals from the completion subscriber.
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
private final class WriteBarrier implements CoreSubscriber<T>, Subscription, Publisher<T> {
|
||||
private class WriteBarrier implements CoreSubscriber<T>, Subscription, Publisher<T> {
|
||||
|
||||
/* Bridges signals to and from the completionSubscriber */
|
||||
private final WriteCompletionBarrier writeCompletionBarrier;
|
||||
|
|
Loading…
Reference in New Issue