Fix Checkstyle violations

* Fix new Sonar smells
This commit is contained in:
abilan
2023-04-11 16:54:30 -04:00
parent bbbfc47ca4
commit bbaffb22bf
3 changed files with 2 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ public class FluxMessageChannel extends AbstractMessageChannel
.publishOn(this.scheduler)
.flatMap((message) ->
Mono.just(message)
.handle((messageToHandle, sink) -> sendReactiveMessage(messageToHandle))
.handle((messageToHandle, syncSink) -> sendReactiveMessage(messageToHandle))
.contextWrite(StaticMessageHeaderAccessor.getReactorContext(message)))
.contextCapture()
.subscribe());

View File

@@ -40,8 +40,6 @@ public class ContextHolderRequestHandlerAdvice extends AbstractRequestHandlerAdv
public final Runnable contextClearHook;
private boolean enableContextPropagation;
/**
* Construct an instance based on the provided hooks.
* @param valueProvider The key provider function.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2020-2022 the original author or authors.
* Copyright 2020-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,7 +16,6 @@
package org.springframework.integration.zeromq.outbound;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.function.Consumer;