Skip to content

Commit

Permalink
Use int for maxParts instead of long
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoyanchev committed Oct 31, 2019
1 parent 3691c18 commit fd96788
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public class SynchronossPartHttpMessageReader extends LoggingCodecSupport implem

private long maxDiskUsagePerPart = -1;

private long maxParts = -1;
private int maxParts = -1;


/**
Expand Down Expand Up @@ -138,15 +138,15 @@ public long getMaxDiskUsagePerPart() {
* 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;
}

/**
* Return the {@link #setMaxParts configured} limit on the number of parts.
* @since 5.1.11
*/
public long getMaxParts() {
public int getMaxParts() {
return this.maxParts;
}

Expand Down

0 comments on commit fd96788

Please sign in to comment.