Browse Source

Remove unnecessary array initialization

pull/22328/head
stsypanov 7 years ago committed by Rossen Stoyanchev
parent
commit
af13580fd5
  1. 3
      spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/MvcUriComponentsBuilder.java

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

@ -852,9 +852,6 @@ public class MvcUriComponentsBuilder { @@ -852,9 +852,6 @@ public class MvcUriComponentsBuilder {
this.controllerType = controllerType;
this.method = method;
this.argumentValues = new Object[method.getParameterCount()];
for (int i = 0; i < this.argumentValues.length; i++) {
this.argumentValues[i] = null;
}
}
private static String getPath() {

Loading…
Cancel
Save