We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af0ad6 commit da80e66Copy full SHA for da80e66
src/main/java/software/amazon/encryption/s3/internal/CipherSubscriber.java
@@ -47,17 +47,7 @@ public class CipherSubscriber implements Subscriber<ByteBuffer> {
47
48
@Override
49
public void onSubscribe(Subscription s) {
50
- wrappedSubscriber.onSubscribe(new Subscription() {
51
- @Override
52
- public void request(long n) {
53
- s.request(n);
54
- }
55
-
56
57
- public void cancel() {
58
- s.cancel();
59
60
- });
+ wrappedSubscriber.onSubscribe(s);
61
}
62
63
0 commit comments