Browse Source

Polish Javadoc for PathVariableMapMethodArgumentResolver

pull/28365/head
Sam Brannen 3 years ago
parent
commit
081c6463e9
  1. 6
      spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/PathVariableMapMethodArgumentResolver.java
  2. 7
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/PathVariableMapMethodArgumentResolver.java

6
spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/PathVariableMapMethodArgumentResolver.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -30,9 +30,9 @@ import org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentR @@ -30,9 +30,9 @@ import org.springframework.web.reactive.result.method.SyncHandlerMethodArgumentR
import org.springframework.web.server.ServerWebExchange;
/**
* Resolver for {@link Map} method arguments also annotated with
* Resolver for {@link Map} method arguments annotated with
* {@link PathVariable @PathVariable} where the annotation does not specify a
* path variable name. The resulting {@link Map} argument is a coyp of all URI
* path variable name. The resulting {@link Map} argument is a copy of all URI
* template name-value pairs.
*
* @author Rossen Stoyanchev

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

@ -32,9 +32,10 @@ import org.springframework.web.method.support.ModelAndViewContainer; @@ -32,9 +32,10 @@ import org.springframework.web.method.support.ModelAndViewContainer;
import org.springframework.web.servlet.HandlerMapping;
/**
* Resolves {@link Map} method arguments annotated with an @{@link PathVariable}
* where the annotation does not specify a path variable name. The created
* {@link Map} contains all URI template name/value pairs.
* Resolves {@link Map} method arguments annotated with
* {@link PathVariable @PathVariable} where the annotation does not specify a
* path variable name. The resulting {@link Map} argument is a copy of all URI
* template name-value pairs.
*
* @author Rossen Stoyanchev
* @since 3.2

Loading…
Cancel
Save