1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-26 22:32:07 +01:00

Deprecate ProducerOptions.setForYourEyesOnly()

Use of this special file name is deprecated since at least crypto-refresh-05
This commit is contained in:
Paul Schaub 2022-03-23 15:17:29 +01:00
parent aeb321b576
commit 405c7225f6
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -193,7 +193,10 @@ public final class ProducerOptions {
* Note: Therefore this method cannot be used simultaneously with {@link #setFileName(String)}. * Note: Therefore this method cannot be used simultaneously with {@link #setFileName(String)}.
* *
* @return this * @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() { public ProducerOptions setForYourEyesOnly() {
this.fileName = PGPLiteralData.CONSOLE; this.fileName = PGPLiteralData.CONSOLE;
return this; return this;