mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:30:28 +00:00
Switch to JdkIdGenerator in AbstractWebSocketSession
Closes gh-36740
This commit is contained in:
+2
-2
@@ -24,9 +24,9 @@ import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.jspecify.annotations.Nullable;
|
||||
|
||||
import org.springframework.util.AlternativeJdkIdGenerator;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.IdGenerator;
|
||||
import org.springframework.util.JdkIdGenerator;
|
||||
import org.springframework.web.socket.BinaryMessage;
|
||||
import org.springframework.web.socket.CloseStatus;
|
||||
import org.springframework.web.socket.PingMessage;
|
||||
@@ -44,7 +44,7 @@ import org.springframework.web.socket.WebSocketSession;
|
||||
*/
|
||||
public abstract class AbstractWebSocketSession<T> implements NativeWebSocketSession {
|
||||
|
||||
protected static final IdGenerator idGenerator = new AlternativeJdkIdGenerator();
|
||||
protected static final IdGenerator idGenerator = new JdkIdGenerator();
|
||||
|
||||
protected static final Log logger = LogFactory.getLog(NativeWebSocketSession.class);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user