Skip to content

Commit

Permalink
Fix null check.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Nov 23, 2024
1 parent 4b9bee9 commit 9691ba9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public B2ListPartsRequest(CloseableHttpClient client, B2AuthorizeAccountResponse
if (startPartNumber != null) {
this.addParameter(B2RequestProperties.KEY_START_PART_NUMBER, String.valueOf(startPartNumber));
}
if (startPartNumber != null) {
if (maxPartCount != null) {
this.addParameter(B2RequestProperties.KEY_MAX_PART_COUNT, String.valueOf(maxPartCount));
}
}
Expand Down

0 comments on commit 9691ba9

Please sign in to comment.