jaykataria1111 commented on issue #2769:
URL: 
https://github.com/apache/logging-log4j2/issues/2769#issuecomment-2463807705

   @ppkarwasz 
   
   >I would just annotate those three methods with a custom @SuppressWarnings 
and make the annotation processor ignore them.
   
   I am sorry for the confusion are you asking to add something of this sorts: 
   
   
   ```
   @SuppressWarnings("deprecation")
       public SocketPerformancePreferences setBandwidth(final int bandwidth) {
           this.bandwidth = bandwidth;
           return this;
       }
   
       @SuppressWarnings("deprecation")
       public SocketPerformancePreferences setConnectionTime(final int 
connectionTime) {
           this.connectionTime = connectionTime;
           return this;
       }
   
       @SuppressWarnings("deprecation")
       public SocketPerformancePreferences setLatency(final int latency) {
           this.latency = latency;
           return this;
       }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to