mirror of
https://github.com/google/nomulus
synced 2026-07-21 23:42:19 +00:00
Clean up Improved(Input|Output)Stream
Two main changes: - Replaced getClass().getSimpleName() in the logs with a constructor-given name. Right now what we have is a lot of identical classes with slightly different names so that the logs would be different. With this change - we can later get rid of a lot of these classes and replace them with simple wrappers. - Removed the "expected" feature. Only Tar uses it - and it can override onClose to do that (that's what it's there for!) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202129563
This commit is contained in:
@@ -95,7 +95,7 @@ public class RydePgpEncryptionOutputStream extends ImprovedOutputStream {
|
||||
@Provided @Config("rdeRydeBufferSize") Integer bufferSize,
|
||||
@WillNotClose OutputStream os,
|
||||
PGPPublicKey receiverKey) {
|
||||
super(createDelegate(bufferSize, os, receiverKey));
|
||||
super("RydePgpEncryptionOutputStream", createDelegate(bufferSize, os, receiverKey));
|
||||
}
|
||||
|
||||
private static
|
||||
|
||||
Reference in New Issue
Block a user