Skip to content

Commit a9dd927

Browse files
committed
Remove outdated HandlerAdapter references from annotation javadoc
Includes removal of PathVariable's MultiValueMap support claim. Issue: SPR-16936
1 parent 323ccf9 commit a9dd927

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

spring-web/src/main/java/org/springframework/web/bind/annotation/PathVariable.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,16 +29,14 @@
2929
* variable. Supported for {@link RequestMapping} annotated handler methods in Servlet
3030
* environments.
3131
*
32-
* <p>If the method parameter is {@link java.util.Map Map&lt;String, String&gt;} or
33-
* {@link org.springframework.util.MultiValueMap MultiValueMap&lt;String, String&gt;}
32+
* <p>If the method parameter is {@link java.util.Map Map&lt;String, String&gt;}
3433
* then the map is populated with all path variable names and values.
3534
*
3635
* @author Arjen Poutsma
3736
* @author Juergen Hoeller
3837
* @since 3.0
3938
* @see RequestMapping
4039
* @see org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
41-
* @see org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter
4240
*/
4341
@Target(ElementType.PARAMETER)
4442
@Retention(RetentionPolicy.RUNTIME)

spring-web/src/main/java/org/springframework/web/bind/annotation/RequestBody.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2015 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,7 +37,6 @@
3737
* @see RequestHeader
3838
* @see ResponseBody
3939
* @see org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
40-
* @see org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter
4140
*/
4241
@Target(ElementType.PARAMETER)
4342
@Retention(RetentionPolicy.RUNTIME)

spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -329,9 +329,9 @@
329329
/**
330330
* In a Servlet environment only: the path mapping URIs (e.g. "/myPath.do").
331331
* Ant-style path patterns are also supported (e.g. "/myPath/*.do").
332-
* At the method level, relative paths (e.g. "edit.do") are supported within
333-
* the primary mapping expressed at the type level. Path mapping URIs may
334-
* contain placeholders (e.g. "/${connect}")
332+
* At the method level, relative paths (e.g. "edit.do") are supported
333+
* within the primary mapping expressed at the type level.
334+
* Path mapping URIs may contain placeholders (e.g. "/${connect}").
335335
* <p><b>Supported at the type level as well as at the method level!</b>
336336
* When used at the type level, all method-level mappings inherit
337337
* this primary mapping, narrowing it for a specific handler method.

0 commit comments

Comments
 (0)