Skip to content

Commit 9ef3880

Browse files
committed
Polishing
1 parent 2c2bed2 commit 9ef3880

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

spring-context/src/test/java/org/springframework/scheduling/annotation/EnableAsyncTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ public AsyncBean asyncBean() {
239239
@Configuration
240240
@EnableAsync(mode = AdviceMode.ASPECTJ)
241241
static class AspectJAsyncAnnotationConfig {
242+
242243
@Bean
243244
public AsyncBean asyncBean() {
244245
return new AsyncBean();
@@ -276,7 +277,7 @@ public Executor getAsyncExecutor() {
276277

277278
@Override
278279
public AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler() {
279-
return exceptionHandler();
280+
return exceptionHandler();
280281
}
281282

282283
@Bean

spring-messaging/src/main/java/org/springframework/messaging/simp/annotation/support/SendToMethodReturnValueHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public void handleReturnValue(Object returnValue, MethodParameter returnType, Me
144144
if (returnValue == null) {
145145
return;
146146
}
147+
147148
MessageHeaders headers = message.getHeaders();
148149
String sessionId = SimpMessageHeaderAccessor.getSessionId(headers);
149150
PlaceholderResolver varResolver = initVarResolver(headers);

spring-web/src/main/java/org/springframework/web/context/request/ServletWebRequest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
package org.springframework.web.context.request;
1818

1919
import java.security.Principal;
20-
import java.text.SimpleDateFormat;
2120
import java.util.Date;
2221
import java.util.Iterator;
2322
import java.util.Locale;
2423
import java.util.Map;
25-
2624
import javax.servlet.http.HttpServletRequest;
2725
import javax.servlet.http.HttpServletResponse;
2826
import javax.servlet.http.HttpSession;
@@ -40,7 +38,6 @@
4038
* @author Juergen Hoeller
4139
* @author Brian Clozel
4240
* @author Markus Malkusch
43-
*
4441
* @since 2.0
4542
*/
4643
public class ServletWebRequest extends ServletRequestAttributes implements NativeWebRequest {

spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@
100100

101101
/**
102102
* An {@link AbstractHandlerMethodAdapter} that supports {@link HandlerMethod}s
103-
* with the signature -- method argument and return types, defined in
103+
* with their method argument and return type signature, as defined via
104104
* {@code @RequestMapping}.
105105
*
106106
* <p>Support for custom argument and return value types can be added via
107107
* {@link #setCustomArgumentResolvers} and {@link #setCustomReturnValueHandlers}.
108-
* Or alternatively to re-configure all argument and return value types use
109-
* {@link #setArgumentResolvers} and {@link #setReturnValueHandlers(List)}.
108+
* Or alternatively, to re-configure all argument and return value types,
109+
* use {@link #setArgumentResolvers} and {@link #setReturnValueHandlers}.
110110
*
111111
* @author Rossen Stoyanchev
112112
* @author Juergen Hoeller

spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerMapping.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ public void afterPropertiesSet() {
133133
super.afterPropertiesSet();
134134
}
135135

136+
136137
/**
137138
* Whether to use suffix pattern matching.
138139
*/

0 commit comments

Comments
 (0)