Skip to content

Commit 27a5ea3

Browse files
committed
Cast operand to long
1 parent f144827 commit 27a5ea3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

auth/src/main/java/software/amazon/awssdk/auth/signer/SignerConstant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public final class SignerConstant {
2525
public static final String AWS4_SIGNING_ALGORITHM = "AWS4-HMAC-SHA256";
2626

2727
/** Seconds in a week, which is the max expiration time Sig-v4 accepts. */
28-
public static final long PRESIGN_URL_MAX_EXPIRATION_SECONDS = 60 * 60 * 24 * 7;
28+
public static final long PRESIGN_URL_MAX_EXPIRATION_SECONDS = 60L * 60 * 24 * 7;
2929

3030
public static final String X_AMZ_CONTENT_SHA256 = "x-amz-content-sha256";
3131

core/src/main/java/software/amazon/awssdk/core/async/ByteArrayAsyncRequestBody.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public void subscribe(Subscriber<? super ByteBuffer> s) {
5555
try {
5656
s.onSubscribe(
5757
new Subscription() {
58-
boolean done = false;
58+
private boolean done = false;
5959

6060
@Override
6161
public void request(long n) {

0 commit comments

Comments
 (0)