Clean up warnings and dead code in spring-webflux module
This commit is contained in:
@@ -110,7 +110,7 @@ public abstract class AbstractMessageWriterResultHandler extends HandlerResultHa
|
||||
* @return indicates completion or error
|
||||
* @since 5.0.2
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
protected Mono<Void> writeBody(@Nullable Object body, MethodParameter bodyParameter,
|
||||
@Nullable MethodParameter actualParameter, ServerWebExchange exchange) {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -38,6 +38,7 @@ public class TomcatWebSocketSession extends StandardWebSocketSession {
|
||||
private static final AtomicIntegerFieldUpdater<TomcatWebSocketSession> SUSPENDED =
|
||||
AtomicIntegerFieldUpdater.newUpdater(TomcatWebSocketSession.class, "suspended");
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private volatile int suspended;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user