Skip to content

Commit ec24299

Browse files
committed
Delete unused imports
1 parent 8bb2975 commit ec24299

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

spring-websocket/src/main/java/org/springframework/web/socket/WebSocketMessage.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616

1717
package org.springframework.web.socket;
1818

19-
import org.springframework.util.Assert;
20-
import org.springframework.util.ObjectUtils;
21-
2219
/**
2320
* A message that can be handled or sent on a WebSocket connection.
2421
*
@@ -35,9 +32,9 @@ public interface WebSocketMessage<T> {
3532
/**
3633
* When partial message support is available and requested via
3734
* {@link org.springframework.web.socket.WebSocketHandler#supportsPartialMessages()},
38-
* this method returns {@literal true} if the current message is the last part of
39-
* the complete WebSocket message sent by the client. Otherwise {@literal false}
40-
* is returned if partial message support is either not available or not enabled.
35+
* this method returns {@code true} if the current message is the last part of the
36+
* complete WebSocket message sent by the client. Otherwise {@code false} is returned
37+
* if partial message support is either not available or not enabled.
4138
*/
4239
boolean isLast();
4340

spring-websocket/src/main/java/org/springframework/web/socket/adapter/JettyWebSocketHandlerAdapter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
import org.springframework.web.socket.WebSocketHandler;
3636
import org.springframework.web.socket.support.ExceptionWebSocketHandlerDecorator;
3737

38-
import java.nio.ByteBuffer;
39-
4038
/**
4139
* Adapts {@link WebSocketHandler} to the Jetty 9 WebSocket API.
4240
*

0 commit comments

Comments
 (0)