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:
parent
54a4625fed
commit
8539157405
1 changed files with 9 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue