1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-04-22 22:44:48 +02:00

Move builder() method above Builder class

This commit is contained in:
Paul Schaub 2021-08-15 15:39:00 +02:00
parent 54a4625fed
commit 8539157405

View file

@ -137,14 +137,19 @@ public final class EncryptionResult {
*
* @return is message for your eyes only?
*/
public static Builder builder() {
return new Builder();
}
public boolean isForYourEyesOnly() {
return PGPLiteralData.CONSOLE.equals(getFileName());
}
/**
* Create a builder for the encryption result class.
*
* @return builder
*/
public static Builder builder() {
return new Builder();
}
public static class Builder {
private SymmetricKeyAlgorithm encryptionAlgorithm;