Polishing
This commit is contained in:
@@ -40,7 +40,7 @@ import org.springframework.web.servlet.HandlerMapping;
|
||||
/**
|
||||
* Resolves arguments of type {@link Map} annotated with {@link MatrixVariable @MatrixVariable}
|
||||
* where the annotation does not specify a name. In other words the purpose of this resolver
|
||||
* is to provide access to multiple matrix variables, either all or associted with a specific
|
||||
* is to provide access to multiple matrix variables, either all or associated with a specific
|
||||
* path variable.
|
||||
*
|
||||
* <p>When a name is specified, an argument of type Map is considered to be a single attribute
|
||||
@@ -51,7 +51,6 @@ import org.springframework.web.servlet.HandlerMapping;
|
||||
*/
|
||||
public class MatrixVariableMapMethodArgumentResolver implements HandlerMethodArgumentResolver {
|
||||
|
||||
|
||||
@Override
|
||||
public boolean supportsParameter(MethodParameter parameter) {
|
||||
MatrixVariable matrixVariable = parameter.getParameterAnnotation(MatrixVariable.class);
|
||||
@@ -113,4 +112,4 @@ public class MatrixVariableMapMethodArgumentResolver implements HandlerMethodArg
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user