mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-22 12:22:06 +01:00
Add hints about usage of deprecated methods
This commit is contained in:
parent
93208ee7bb
commit
43a29729ad
2 changed files with 2 additions and 0 deletions
|
@ -287,6 +287,7 @@ public class ConsumerOptions {
|
|||
* @return options
|
||||
*/
|
||||
@Deprecated
|
||||
// Is used to be compatible with legacy systems
|
||||
public ConsumerOptions setIgnoreMDCErrors(boolean ignoreMDCErrors) {
|
||||
this.ignoreMDCErrors = ignoreMDCErrors;
|
||||
return this;
|
||||
|
|
|
@ -245,6 +245,7 @@ public final class ProducerOptions {
|
|||
* @deprecated options other than the default value of {@link StreamEncoding#BINARY} are discouraged.
|
||||
*/
|
||||
@Deprecated
|
||||
// is used to be compatible with legacy systems
|
||||
public ProducerOptions setEncoding(@Nonnull StreamEncoding encoding) {
|
||||
this.encodingField = encoding;
|
||||
return this;
|
||||
|
|
Loading…
Reference in a new issue