diff --git a/http-client-jdk/src/main/java/io/micronaut/http/client/jdk/AbstractJdkHttpClient.java b/http-client-jdk/src/main/java/io/micronaut/http/client/jdk/AbstractJdkHttpClient.java index 7399999bec6..a329482a4aa 100644 --- a/http-client-jdk/src/main/java/io/micronaut/http/client/jdk/AbstractJdkHttpClient.java +++ b/http-client-jdk/src/main/java/io/micronaut/http/client/jdk/AbstractJdkHttpClient.java @@ -382,8 +382,7 @@ protected > Publisher applyFil return ExecutionFlow.error(e); } }); - return (Publisher) Mono.from(ReactiveExecutionFlow.fromFlow(runner.run(request)).toPublisher()) - .map(x -> x); + return (Publisher) Mono.from(ReactiveExecutionFlow.fromFlow(runner.run(request)).toPublisher()); } protected Publisher> responsePublisher(