Skip to content

Commit 9d34cfd

Browse files
committed
Fix new Sonar smell
1 parent c94eaf7 commit 9d34cfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-integration-core/src/main/java/org/springframework/integration/util/IntegrationReactiveUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
*/
4848
public final class IntegrationReactiveUtils {
4949

50-
private static final Log logger = LogFactory.getLog(IntegrationReactiveUtils.class);
50+
private static final Log LOGGER = LogFactory.getLog(IntegrationReactiveUtils.class);
5151

5252
/**
5353
* The subscriber context entry for {@link Flux#delayElements}
@@ -91,7 +91,7 @@ public static <T> Flux<Message<T>> messageSourceToFlux(MessageSource<T> messageS
9191
if (failedMessage != null) {
9292
AckUtils.autoNack(StaticMessageHeaderAccessor.getAcknowledgmentCallback(failedMessage));
9393
}
94-
logger.error("Error from Flux for : " + messageSource, ex);
94+
LOGGER.error("Error from Flux for : " + messageSource, ex);
9595
})
9696
.subscribeOn(Schedulers.boundedElastic())
9797
.repeatWhenEmpty((repeat) ->

0 commit comments

Comments
 (0)