Skip to content

Commit 43c9527

Browse files
committed
GH-1633: Suppress Sonar Issue
Cannot reduce complexity - catch clauses
1 parent 81342e7 commit 43c9527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka/src/main/java/org/springframework/kafka/listener/KafkaMessageListenerContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ public boolean isLongLived() {
10451045
}
10461046

10471047
@Override
1048-
public void run() {
1048+
public void run() { // NOSONAR complexity
10491049
ListenerUtils.setLogOnlyMetadata(this.containerProperties.isOnlyLogRecordMetadata());
10501050
publishConsumerStartingEvent();
10511051
this.consumerThread = Thread.currentThread();

0 commit comments

Comments
 (0)