Skip to content

Commit 907859f

Browse files
committed
Merge branch '6.1.x'
2 parents 2f56a59 + caaa86d commit 907859f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-methods/requestparam.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Kotlin::
6161

6262
By default, method parameters that use this annotation are required, but you can specify that
6363
a method parameter is optional by setting the `@RequestParam` annotation's `required` flag to
64-
`false` or by declaring the argument with an `java.util.Optional` wrapper.
64+
`false` or by declaring the argument with a `java.util.Optional` wrapper.
6565

6666
Type conversion is automatically applied if the target method parameter type is not
6767
`String`. See xref:web/webmvc/mvc-controller/ann-methods/typeconversion.adoc[Type Conversion].
@@ -86,7 +86,7 @@ Java::
8686
8787
// ...
8888
89-
@PostMapping(value = "/process", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
89+
@PostMapping(path = "/process", consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE)
9090
public String processForm(@RequestParam MultiValueMap<String, String> params) {
9191
// ...
9292
}

spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJAutoProxyCreatorTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ SupplierAdvice supplierAdvice() {
609609
@Aspect
610610
static class SupplierAdvice {
611611

612-
@Around("execution(public * org.springframework.aop.aspectj.autoproxy..*.*(..))")
612+
@Around("execution(* java.util.function.Supplier+.get())")
613613
Object aroundSupplier(ProceedingJoinPoint joinPoint) throws Throwable {
614614
return "advised: " + joinPoint.proceed();
615615
}

0 commit comments

Comments
 (0)