From f3cf3456abd1ad57a33018eaffaa06bec9802265 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Tue, 15 Feb 2022 14:21:12 +0100 Subject: [PATCH] ConsumerOptions.setIsCleartextSigned -> return this --- .../pgpainless/decryption_verification/ConsumerOptions.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pgpainless-core/src/main/java/org/pgpainless/decryption_verification/ConsumerOptions.java b/pgpainless-core/src/main/java/org/pgpainless/decryption_verification/ConsumerOptions.java index 436d9356..66b5c4c8 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/decryption_verification/ConsumerOptions.java +++ b/pgpainless-core/src/main/java/org/pgpainless/decryption_verification/ConsumerOptions.java @@ -351,8 +351,9 @@ public class ConsumerOptions { * INTERNAL method to mark cleartext signed messages. * Do not call this manually. */ - public void setIsCleartextSigned() { + public ConsumerOptions setIsCleartextSigned() { this.cleartextSigned = true; + return this; } /**