Consistent whitespace after imports
Update code to have a consistent number of new-line characters after import statements.
This commit is contained in:
@@ -20,7 +20,6 @@ import java.util.Map;
|
||||
import org.springframework.messaging.Message;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
/**
|
||||
* Base class for a messaging template that can resolve String-based destinations.
|
||||
*
|
||||
|
||||
@@ -26,7 +26,6 @@ import org.springframework.messaging.support.converter.MessageConverter;
|
||||
import org.springframework.messaging.support.converter.SimpleMessageConverter;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
/**
|
||||
* Base class for templates that support sending messages.
|
||||
*
|
||||
|
||||
@@ -20,7 +20,6 @@ import java.util.Map;
|
||||
import org.springframework.messaging.Message;
|
||||
import org.springframework.messaging.MessageHeaders;
|
||||
|
||||
|
||||
/**
|
||||
* Base class for a messaging template that send and receive messages.
|
||||
*
|
||||
|
||||
@@ -24,7 +24,6 @@ import java.lang.reflect.Method;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
|
||||
/**
|
||||
* Cache exception handling method mappings and provide options to look up a method
|
||||
* that should handle an exception. If multiple methods match, they are sorted using
|
||||
|
||||
@@ -26,7 +26,6 @@ import org.springframework.core.MethodParameter;
|
||||
import org.springframework.messaging.Message;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
/**
|
||||
* @author Rossen Stoyanchev
|
||||
* @since 4.0
|
||||
|
||||
@@ -18,7 +18,6 @@ package org.springframework.messaging.simp;
|
||||
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
|
||||
|
||||
/**
|
||||
* Event raised when a broker's availabilty changes
|
||||
*
|
||||
|
||||
@@ -20,7 +20,6 @@ import org.springframework.messaging.MessageChannel;
|
||||
import org.springframework.messaging.simp.stomp.StompBrokerRelayMessageHandler;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
|
||||
/**
|
||||
* Registration class for configuring a {@link StompBrokerRelayMessageHandler}.
|
||||
*
|
||||
|
||||
@@ -28,7 +28,6 @@ import org.springframework.util.ClassUtils;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link AnnotationExceptionHandlerMethodResolver} tests.
|
||||
*
|
||||
|
||||
@@ -31,7 +31,6 @@ import org.springframework.messaging.support.MessageBuilder;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link HeaderMethodArgumentResolver} tests.
|
||||
*
|
||||
|
||||
@@ -32,7 +32,6 @@ import org.springframework.messaging.support.NativeMessageHeaderAccessor;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link HeadersMethodArgumentResolver} tests.
|
||||
*
|
||||
|
||||
@@ -29,7 +29,6 @@ import org.springframework.messaging.support.converter.StringMessageConverter;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link PayloadArgumentResolver}.
|
||||
*
|
||||
|
||||
@@ -18,7 +18,6 @@ package org.springframework.messaging.simp;
|
||||
|
||||
import java.security.Principal;
|
||||
|
||||
|
||||
/**
|
||||
* An implementation of {@link Principal} for testing.
|
||||
*
|
||||
|
||||
@@ -41,7 +41,6 @@ import static org.junit.Assert.*;
|
||||
import static org.mockito.Matchers.*;
|
||||
import static org.mockito.Mockito.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link SendToMethodReturnValueHandlerTests}.
|
||||
*
|
||||
|
||||
@@ -40,7 +40,6 @@ import static org.junit.Assert.*;
|
||||
import static org.mockito.Matchers.*;
|
||||
import static org.mockito.Mockito.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link SubscriptionMethodReturnValueHandler}.
|
||||
*
|
||||
|
||||
@@ -51,7 +51,6 @@ import java.util.List;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link AbstractMessageBrokerConfiguration}.
|
||||
*
|
||||
|
||||
@@ -30,7 +30,6 @@ import org.springframework.util.MultiValueMap;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link DefaultSubscriptionRegistry}.
|
||||
*
|
||||
|
||||
@@ -25,7 +25,6 @@ import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link DefaultUserSessionRegistry}
|
||||
*
|
||||
|
||||
@@ -39,7 +39,6 @@ import org.springframework.stereotype.Controller;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link SimpAnnotationMethodMessageHandler}.
|
||||
* @author Rossen Stoyanchev
|
||||
|
||||
@@ -33,7 +33,6 @@ import org.springframework.messaging.support.MessageBuilder;
|
||||
import static org.junit.Assert.*;
|
||||
import static org.mockito.Mockito.*;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
|
||||
@@ -31,7 +31,6 @@ import reactor.io.Buffer;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link StompCodec}.
|
||||
*
|
||||
|
||||
@@ -30,7 +30,6 @@ import org.springframework.util.MultiValueMap;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link StompHeaderAccessor}.
|
||||
*
|
||||
|
||||
@@ -27,7 +27,6 @@ import org.springframework.messaging.MessageHeaders;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* @author Mark Fisher
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,6 @@ import org.springframework.messaging.MessageHeaders;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link MessageHeaderAccessor}.
|
||||
*
|
||||
|
||||
@@ -30,7 +30,6 @@ import org.springframework.util.MultiValueMap;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link NativeMessageHeaderAccessor}.
|
||||
*
|
||||
|
||||
@@ -31,7 +31,6 @@ import org.springframework.util.MimeTypeUtils;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link AbstractMessageConverter}.
|
||||
*
|
||||
|
||||
@@ -27,7 +27,6 @@ import org.springframework.util.MimeTypeUtils;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link DefaultContentTypeResolver}.
|
||||
*
|
||||
|
||||
@@ -31,7 +31,6 @@ import org.springframework.util.MimeType;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link MappingJackson2MessageConverter}.
|
||||
*
|
||||
|
||||
@@ -30,7 +30,6 @@ import org.springframework.util.MimeTypeUtils;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
|
||||
/**
|
||||
* Test fixture for {@link StringMessageConverter}.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user