Skip to content

Commit bbaffb2

Browse files
committed
Fix Checkstyle violations
* Fix new Sonar smells
1 parent bbbfc47 commit bbaffb2

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

spring-integration-core/src/main/java/org/springframework/integration/channel/FluxMessageChannel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public void subscribeTo(Publisher<? extends Message<?>> publisher) {
117117
.publishOn(this.scheduler)
118118
.flatMap((message) ->
119119
Mono.just(message)
120-
.handle((messageToHandle, sink) -> sendReactiveMessage(messageToHandle))
120+
.handle((messageToHandle, syncSink) -> sendReactiveMessage(messageToHandle))
121121
.contextWrite(StaticMessageHeaderAccessor.getReactorContext(message)))
122122
.contextCapture()
123123
.subscribe());

spring-integration-core/src/main/java/org/springframework/integration/handler/advice/ContextHolderRequestHandlerAdvice.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ public class ContextHolderRequestHandlerAdvice extends AbstractRequestHandlerAdv
4040

4141
public final Runnable contextClearHook;
4242

43-
private boolean enableContextPropagation;
44-
4543
/**
4644
* Construct an instance based on the provided hooks.
4745
* @param valueProvider The key provider function.

spring-integration-zeromq/src/main/java/org/springframework/integration/zeromq/outbound/ZeroMqMessageHandler.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2020-2022 the original author or authors.
2+
* Copyright 2020-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@
1616

1717
package org.springframework.integration.zeromq.outbound;
1818

19-
import java.util.Arrays;
2019
import java.util.List;
2120
import java.util.concurrent.atomic.AtomicBoolean;
2221
import java.util.function.Consumer;

0 commit comments

Comments
 (0)