提交 e731a0a1 编写于 作者: R Rossen Stoyanchev

Use int for maxParts instead of long

上级 0f2efdbe
......@@ -88,7 +88,7 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
private long maxDiskUsagePerPart = -1;
private long maxParts = -1;
private int maxParts = -1;
/**
......@@ -139,7 +139,7 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
* Specify the maximum number of parts allowed in a given multipart request.
* @since 5.1.11
*/
public void setMaxParts(long maxParts) {
public void setMaxParts(int maxParts) {
this.maxParts = maxParts;
}
......@@ -147,7 +147,7 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem
* Return the {@link #setMaxParts configured} limit on the number of parts.
* @since 5.1.11
*/
public long getMaxParts() {
public int getMaxParts() {
return this.maxParts;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册