From 9c0f99c0b51959bc2b34b51ff1e695906893e4f6 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Mon, 29 Feb 2016 12:57:09 +0100 Subject: [PATCH] Polishing --- .../springframework/test/context/junit4/SpringRunner.java | 4 ++-- .../mvc/method/annotation/RequestMappingHandlerAdapter.java | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/context/junit4/SpringRunner.java b/spring-test/src/main/java/org/springframework/test/context/junit4/SpringRunner.java index 4c80304eb6..37dad33553 100644 --- a/spring-test/src/main/java/org/springframework/test/context/junit4/SpringRunner.java +++ b/spring-test/src/main/java/org/springframework/test/context/junit4/SpringRunner.java @@ -25,8 +25,8 @@ import org.junit.runners.model.InitializationError; * {@code @RunWith(SpringRunner.class)}. * *

If you would like to use the Spring TestContext Framework with a runner other than - * this one, use {@link org.springframework.test.context.junit4.rules.SpringClassRule SpringClassRule} - * and {@link org.springframework.test.context.junit4.rules.SpringMethodRule SpringMethodRule}. + * this one, use {@link org.springframework.test.context.junit4.rules.SpringClassRule} + * and {@link org.springframework.test.context.junit4.rules.SpringMethodRule}. * *

NOTE: This class requires JUnit 4.12 or higher. * diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java index 62e4cecd5c..5960cde711 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter.java @@ -449,13 +449,12 @@ public class RequestMappingHandlerAdapter extends AbstractHandlerMethodAdapter *

*

In contrast to the "cacheSeconds" property which will apply to all general * handlers (but not to {@code @SessionAttributes} annotated handlers), * this setting will apply to {@code @SessionAttributes} handlers only. - * * @see #setCacheSeconds * @see org.springframework.web.bind.annotation.SessionAttributes */