From 405c7225f67f5937d4cabceb2770ef7aed79ab82 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Wed, 23 Mar 2022 15:17:29 +0100 Subject: [PATCH] Deprecate ProducerOptions.setForYourEyesOnly() Use of this special file name is deprecated since at least crypto-refresh-05 --- .../org/pgpainless/encryption_signing/ProducerOptions.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/ProducerOptions.java b/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/ProducerOptions.java index ac4f0e6e..3fe284c8 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/ProducerOptions.java +++ b/pgpainless-core/src/main/java/org/pgpainless/encryption_signing/ProducerOptions.java @@ -193,7 +193,10 @@ public final class ProducerOptions { * Note: Therefore this method cannot be used simultaneously with {@link #setFileName(String)}. * * @return this + * @deprecated deprecated since at least crypto-refresh-05. It is not recommended using this special filename in + * newly generated literal data packets */ + @Deprecated public ProducerOptions setForYourEyesOnly() { this.fileName = PGPLiteralData.CONSOLE; return this;