From bc24c4626ab1af839977ce8750c50a63420c8f73 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Mon, 29 Aug 2022 13:00:50 +0200 Subject: [PATCH] Add ConsumerOptions.get() factory method --- .../pgpainless/decryption_verification/ConsumerOptions.java | 4 ++++ 1 file changed, 4 insertions(+) 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 7b8d1e70..b6117a60 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 @@ -55,6 +55,10 @@ public class ConsumerOptions { private MultiPassStrategy multiPassStrategy = new InMemoryMultiPassStrategy(); + public static ConsumerOptions get() { + return new ConsumerOptions(); + } + /** * Consider signatures on the message made before the given timestamp invalid. * Null means no limitation.