File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-web/src/main/java/org/springframework/http/codec/multipart Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
8888
8989 private long maxDiskUsagePerPart = -1 ;
9090
91- private long maxParts = -1 ;
91+ private int maxParts = -1 ;
9292
9393
9494 /**
@@ -138,15 +138,15 @@ public long getMaxDiskUsagePerPart() {
138138 * Specify the maximum number of parts allowed in a given multipart request.
139139 * @since 5.1.11
140140 */
141- public void setMaxParts (long maxParts ) {
141+ public void setMaxParts (int maxParts ) {
142142 this .maxParts = maxParts ;
143143 }
144144
145145 /**
146146 * Return the {@link #setMaxParts configured} limit on the number of parts.
147147 * @since 5.1.11
148148 */
149- public long getMaxParts () {
149+ public int getMaxParts () {
150150 return this .maxParts ;
151151 }
152152
You can’t perform that action at this time.
0 commit comments