Skip to content

Commit b6582c8

Browse files
committed
log if last part
1 parent 8cc5f26 commit b6582c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/software/amazon/encryption/s3/internal/CipherSubscriber.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class CipherSubscriber implements Subscriber<ByteBuffer> {
2525
private byte[] outputBuffer;
2626

2727
CipherSubscriber(Subscriber<? super ByteBuffer> wrappedSubscriber, Long contentLength, CryptographicMaterials materials, byte[] iv, boolean isLastPart) {
28-
System.out.println("Initializing CipherSubscriber");
28+
System.out.println("Initializing CipherSubscriber. It is " + (isLastPart ? "infact" : "NOT") + " the last part!");
2929
this.wrappedSubscriber = wrappedSubscriber;
3030
this.contentLength = contentLength;
3131
this.materials = materials;

0 commit comments

Comments
 (0)