mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-26 22:32:07 +01:00
Add annotations to SignatureGenerationStream constructor
This commit is contained in:
parent
131c0c6d03
commit
39382c7de6
1 changed files with 2 additions and 1 deletions
|
@ -8,6 +8,7 @@ import org.bouncycastle.openpgp.PGPSignatureGenerator;
|
|||
import org.pgpainless.key.SubkeyIdentifier;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import javax.annotation.Nullable;
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
|
||||
|
@ -19,7 +20,7 @@ class SignatureGenerationStream extends OutputStream {
|
|||
private final OutputStream wrapped;
|
||||
private final SigningOptions options;
|
||||
|
||||
SignatureGenerationStream(OutputStream wrapped, SigningOptions signingOptions) {
|
||||
SignatureGenerationStream(@Nonnull OutputStream wrapped, @Nullable SigningOptions signingOptions) {
|
||||
this.wrapped = wrapped;
|
||||
this.options = signingOptions;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue