mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Replace use of jdk 1.8 api
This commit is contained in:
+1
-1
@@ -271,7 +271,7 @@ public class MvcUriComponentsBuilder extends UriComponentsBuilder {
|
||||
contributor = defaultUriComponentsContributor;
|
||||
}
|
||||
|
||||
int paramCount = method.getParameterCount();
|
||||
int paramCount = method.getParameterTypes().length;
|
||||
int argCount = args.length;
|
||||
|
||||
Assert.isTrue(paramCount == argCount, "Number of method parameters " + paramCount +
|
||||
|
||||
Reference in New Issue
Block a user