Consistent whitespace after imports
Update code to have a consistent number of new-line characters after import statements.
This commit is contained in:
@@ -34,7 +34,6 @@ import org.springframework.web.socket.server.RequestUpgradeStrategy;
|
||||
import org.springframework.web.socket.server.support.JettyRequestUpgradeStrategy;
|
||||
import org.springframework.web.socket.server.support.TomcatRequestUpgradeStrategy;
|
||||
|
||||
|
||||
/**
|
||||
* Base class for WebSocket integration tests.
|
||||
*
|
||||
|
||||
@@ -23,7 +23,6 @@ import org.springframework.util.SocketUtils;
|
||||
import org.springframework.web.context.WebApplicationContext;
|
||||
import org.springframework.web.servlet.DispatcherServlet;
|
||||
|
||||
|
||||
/**
|
||||
* Jetty based {@link WebSocketTestServer}.
|
||||
*
|
||||
|
||||
@@ -29,7 +29,6 @@ import org.springframework.util.SocketUtils;
|
||||
import org.springframework.web.context.WebApplicationContext;
|
||||
import org.springframework.web.servlet.DispatcherServlet;
|
||||
|
||||
|
||||
/**
|
||||
* Tomcat based {@link WebSocketTestServer}.
|
||||
*
|
||||
|
||||
@@ -39,7 +39,6 @@ import org.springframework.web.socket.support.WebSocketHttpHeaders;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Tests for {@link JettyWebSocketClient}.
|
||||
* @author Rossen Stoyanchev
|
||||
|
||||
@@ -58,7 +58,6 @@ import org.springframework.web.socket.server.HandshakeHandler;
|
||||
import static org.junit.Assert.*;
|
||||
import static org.springframework.web.socket.messaging.StompTextMessageBuilder.*;
|
||||
|
||||
|
||||
/**
|
||||
* Integration tests with annotated message-handling methods.
|
||||
* @author Rossen Stoyanchev
|
||||
|
||||
@@ -23,7 +23,6 @@ import java.util.List;
|
||||
import org.springframework.messaging.simp.stomp.StompCommand;
|
||||
import org.springframework.web.socket.TextMessage;
|
||||
|
||||
|
||||
/**
|
||||
* A builder for creating WebSocket messages with STOMP frame content.
|
||||
*
|
||||
|
||||
@@ -27,7 +27,6 @@ import org.springframework.web.socket.support.TestWebSocketSession;
|
||||
|
||||
import static org.mockito.Mockito.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link SubProtocolWebSocketHandler}.
|
||||
*
|
||||
|
||||
@@ -37,7 +37,6 @@ import org.springframework.web.socket.sockjs.transport.handler.WebSocketTranspor
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link WebMvcStompWebSocketEndpointRegistration}.
|
||||
*
|
||||
|
||||
@@ -33,7 +33,6 @@ import org.springframework.web.socket.messaging.SubProtocolWebSocketHandler;
|
||||
import static org.junit.Assert.*;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link WebMvcStompEndpointRegistry}.
|
||||
*
|
||||
|
||||
@@ -47,7 +47,6 @@ import java.util.Map;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link WebSocketMessageBrokerConfigurationSupport}.
|
||||
*
|
||||
|
||||
@@ -35,7 +35,6 @@ import org.springframework.web.socket.support.WebSocketHttpHeaders;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.mockito.Mockito.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link DefaultHandshakeHandler}.
|
||||
*
|
||||
|
||||
@@ -37,7 +37,6 @@ import org.springframework.web.socket.sockjs.transport.handler.WebSocketTranspor
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link AbstractWebSocketHandlerRegistration}.
|
||||
*
|
||||
|
||||
@@ -39,7 +39,6 @@ import org.springframework.web.socket.sockjs.transport.handler.WebSocketTranspor
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Integration tests for WebSocket Java server-side configuration.
|
||||
*
|
||||
|
||||
@@ -29,7 +29,6 @@ import org.springframework.web.socket.server.HandshakeInterceptor;
|
||||
|
||||
import static org.mockito.Mockito.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link HandshakeInterceptorChain}.
|
||||
*
|
||||
|
||||
@@ -28,7 +28,6 @@ import org.springframework.web.socket.WebSocketHandler;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link HttpSessionHandshakeInterceptor}.
|
||||
*
|
||||
|
||||
@@ -18,7 +18,6 @@ package org.springframework.web.socket.support;
|
||||
|
||||
import java.security.Principal;
|
||||
|
||||
|
||||
/**
|
||||
* An implementation of {@link Principal} for testing.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user