From 1f7c61a33140ac2319766d5f193beddaa789b7d3 Mon Sep 17 00:00:00 2001 From: Thialfihar Date: Tue, 29 Apr 2014 19:01:11 +0200 Subject: Rename setter methods for PgpDecryptVerify.Builder --- .../sufficientlysecure/keychain/pgp/PgpDecryptVerify.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpDecryptVerify.java') diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpDecryptVerify.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpDecryptVerify.java index 71900d002..506c161ba 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpDecryptVerify.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpDecryptVerify.java @@ -118,18 +118,18 @@ public class PgpDecryptVerify { this.mOutStream = outStream; } - public Builder progressable(Progressable progressable) { - this.mProgressable = progressable; + public Builder setProgressable(Progressable progressable) { + mProgressable = progressable; return this; } - public Builder allowSymmetricDecryption(boolean allowSymmetricDecryption) { - this.mAllowSymmetricDecryption = allowSymmetricDecryption; + public Builder setAllowSymmetricDecryption(boolean allowSymmetricDecryption) { + mAllowSymmetricDecryption = allowSymmetricDecryption; return this; } - public Builder passphrase(String passphrase) { - this.mPassphrase = passphrase; + public Builder setPassphrase(String passphrase) { + mPassphrase = passphrase; return this; } @@ -140,7 +140,7 @@ public class PgpDecryptVerify { * @param allowedKeyIds * @return */ - public Builder allowedKeyIds(Set allowedKeyIds) { + public Builder setAllowedKeyIds(Set allowedKeyIds) { this.mAllowedKeyIds = allowedKeyIds; return this; } -- cgit v1.2.3