Skip to content

Commit af13580

Browse files
stsypanovrstoyanchev
authored andcommitted
Remove unnecessary array initialization
1 parent 7a77e83 commit af13580

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

-3
Original file line numberDiff line numberDiff line change
@@ -852,9 +852,6 @@ public MethodArgumentBuilder(@Nullable UriComponentsBuilder baseUrl, Class<?> co
852852
this.controllerType = controllerType;
853853
this.method = method;
854854
this.argumentValues = new Object[method.getParameterCount()];
855-
for (int i = 0; i < this.argumentValues.length; i++) {
856-
this.argumentValues[i] = null;
857-
}
858855
}
859856

860857
private static String getPath() {

0 commit comments

Comments
 (0)