1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-23 04:42:06 +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)}.
*
* @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;