Skip to content

Commit

Permalink
GH-1480: Suppress Sonar issue in deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Jan 26, 2021
1 parent d53ec47 commit 01e8572
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,12 +161,12 @@ public static String recordToString(ConsumerRecord<?, ?> record, boolean meta) {
* @deprecated in favor of
* {@link #unrecoverableBackOff(BackOff, ThreadLocal, ThreadLocal, MessageListenerContainer)}.
*/
@Deprecated
@Deprecated(since = "2.7")
public static void unrecoverableBackOff(BackOff backOff, ThreadLocal<BackOffExecution> executions,
ThreadLocal<Long> lastIntervals) {

try {
unrecoverableBackOff(backOff, executions, lastIntervals, new MessageListenerContainer() {
unrecoverableBackOff(backOff, executions, lastIntervals, new MessageListenerContainer() { // NOSONAR

@Override
public void stop() {
Expand Down

0 comments on commit 01e8572

Please sign in to comment.