diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/MultipartProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/MultipartProperties.java index 4db7ec2e1c..6e3a6ccfa2 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/MultipartProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/servlet/MultipartProperties.java @@ -81,8 +81,8 @@ public class MultipartProperties { private boolean resolveLazily = false; /** - * Whether to resolve the multipart request strictly comply with the Servlet specification, - * only kicking in for "multipart/form-data" requests. + * Whether to resolve the multipart request strictly comply with the Servlet + * specification, only to be used for "multipart/form-data" requests. */ private boolean strictServletCompliance = false; diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/MultipartAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/MultipartAutoConfigurationTests.java index 208a647ac0..edbc441d87 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/MultipartAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/servlet/MultipartAutoConfigurationTests.java @@ -182,7 +182,7 @@ class MultipartAutoConfigurationTests { this.context.register(WebServerWithNothing.class, BaseConfiguration.class); this.context.refresh(); StandardServletMultipartResolver multipartResolver = this.context - .getBean(StandardServletMultipartResolver.class); + .getBean(StandardServletMultipartResolver.class); assertThat(multipartResolver).hasFieldOrPropertyWithValue("strictServletCompliance", true); }