From 711f10c96f16889d9018a397dc42f6bdaf4afdea Mon Sep 17 00:00:00 2001 From: Cosmin Humeniuc Date: Sun, 20 Oct 2019 20:10:11 +0300 Subject: [PATCH 1/2] Adapt Javadoc to reflect the removal of deprecated code. --- .../boot/web/servlet/MultipartConfigFactory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java index a2fa68d4c4bf..e48a92db80c1 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java @@ -22,8 +22,7 @@ /** * Factory that can be used to create a {@link MultipartConfigElement}. Size values can be - * set using traditional {@literal long} values which are set in bytes or using more - * convenient {@link DataSize} variants. + * set using {@link DataSize} variants. * * @author Phillip Webb * @since 1.4.0 From 2a050b816d966ef44eb4978bea66c447ca4459f0 Mon Sep 17 00:00:00 2001 From: Cosmin Humeniuc Date: Sun, 27 Oct 2019 07:41:25 +0200 Subject: [PATCH 2/2] Adapt Javadoc by removing unclear and unnecessary sentence about how things can be set. --- .../boot/web/servlet/MultipartConfigFactory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java index e48a92db80c1..91bc1db34f2f 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/MultipartConfigFactory.java @@ -21,8 +21,7 @@ import org.springframework.util.unit.DataSize; /** - * Factory that can be used to create a {@link MultipartConfigElement}. Size values can be - * set using {@link DataSize} variants. + * Factory that can be used to create a {@link MultipartConfigElement}. * * @author Phillip Webb * @since 1.4.0