Polish: remove unused private fields, remove empty operator

This commit is contained in:
igor-suhorukov
2018-02-14 00:03:54 +03:00
committed by Juergen Hoeller
parent 1908080d5c
commit 45e520ed86
8 changed files with 5 additions and 32 deletions

View File

@@ -90,7 +90,7 @@ public class WebMvcStompEndpointRegistry implements StompEndpointRegistry {
WebSocketHandler actual = WebSocketHandlerDecorator.unwrap(handler);
if (!(actual instanceof SubProtocolWebSocketHandler)) {
throw new IllegalArgumentException("No SubProtocolWebSocketHandler in " + handler);
};
}
return (SubProtocolWebSocketHandler) actual;
}