Skip to content

Commit ea4b87f

Browse files
committed
fix npe
1 parent d99d6c1 commit ea4b87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/s3-tests/src/it/java/software/amazon/awssdk/services/s3/regression/UploadStreamingRegressionTesting.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static void setupClass() throws IOException {
106106
byte[] crcArrayLargeContentForBuffersApi = new byte[largeContent.length + largeContent.length];
107107
System.arraycopy(largeContent, 0, crcArrayLargeContentForBuffersApi, 0, largeContent.length);
108108
System.arraycopy(largeContent, 0, crcArrayLargeContentForBuffersApi, largeContent.length, largeContent.length);
109-
largeContentCRC32ForBuffersAPI = crc32(largeContentCRC32ForBuffersAPI);
109+
largeContentCRC32ForBuffersAPI = crc32(crcArrayLargeContentForBuffersApi);
110110
}
111111

112112
@AfterAll

0 commit comments

Comments
 (0)