Skip to content

Commit 18836db

Browse files
committed
GH-948: Sonar fix
1 parent e39be7e commit 18836db

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,13 +1270,13 @@ private Exception decorateException(RuntimeException e) {
12701270
toHandle = new ListenerExecutionFailedException(toHandle.getMessage(), this.consumerGroupId,
12711271
toHandle.getCause());
12721272
}
1273-
else {
1274-
/*
1275-
* TODO: in 2.3, wrap all exceptions (e.g. thrown by user implementations
1276-
* of MessageListener) in LEFE with groupId. @KafkaListeners always throw
1277-
* LEFE.
1278-
*/
1279-
}
1273+
// else {
1274+
// /*
1275+
// * TODO: in 2.3, wrap all exceptions (e.g. thrown by user implementations
1276+
// * of MessageListener) in LEFE with groupId. @KafkaListeners always throw
1277+
// * LEFE.
1278+
// */
1279+
// }
12801280
return toHandle;
12811281
}
12821282

0 commit comments

Comments
 (0)