diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/config/WebSocketMessageBrokerStats.java b/spring-websocket/src/main/java/org/springframework/web/socket/config/WebSocketMessageBrokerStats.java index 4795d4f2aa33..9440713c143b 100644 --- a/spring-websocket/src/main/java/org/springframework/web/socket/config/WebSocketMessageBrokerStats.java +++ b/spring-websocket/src/main/java/org/springframework/web/socket/config/WebSocketMessageBrokerStats.java @@ -281,11 +281,10 @@ private String getExecutorStatsInfo(@Nullable Executor executor) { } @Override - @SuppressWarnings("removal") public String toString() { - return "WebSocketSession[" + getWebSocketSessionStatsInfo() + "]" + - ", stompSubProtocol[" + getStompSubProtocolStatsInfo() + "]" + - ", stompBrokerRelay[" + getStompBrokerRelayStatsInfo() + "]" + + return "WebSocketSession[" + getWebSocketSessionStats() + "]" + + ", stompSubProtocol[" + getStompSubProtocolStats() + "]" + + ", stompBrokerRelay[" + getStompBrokerRelayStats() + "]" + ", inboundChannel[" + getClientInboundExecutorStatsInfo() + "]" + ", outboundChannel[" + getClientOutboundExecutorStatsInfo() + "]" + ", sockJsScheduler[" + getSockJsTaskSchedulerStatsInfo() + "]";