From 11b80b6119cf21a520bb93f86e074453f80eec2f Mon Sep 17 00:00:00 2001 From: Violeta Georgieva Date: Thu, 7 Mar 2024 10:23:33 +0200 Subject: [PATCH] Fix javadoc --- .../java/reactor/netty/channel/ChannelMetricsRecorder.java | 4 ++-- .../netty/channel/ContextAwareChannelMetricsRecorder.java | 4 ++-- .../http/client/ContextAwareHttpClientMetricsRecorder.java | 2 +- .../reactor/netty/http/client/HttpClientMetricsRecorder.java | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reactor-netty-core/src/main/java/reactor/netty/channel/ChannelMetricsRecorder.java b/reactor-netty-core/src/main/java/reactor/netty/channel/ChannelMetricsRecorder.java index 3cd94abd05..13b406ee47 100644 --- a/reactor-netty-core/src/main/java/reactor/netty/channel/ChannelMetricsRecorder.java +++ b/reactor-netty-core/src/main/java/reactor/netty/channel/ChannelMetricsRecorder.java @@ -66,14 +66,14 @@ default void recordDataSent(SocketAddress remoteAddress, SocketAddress proxyAddr } /** - * Increments the number of the errors that are occurred. + * Increments the number of the errors that have occurred. * * @param remoteAddress The remote peer */ void incrementErrorsCount(SocketAddress remoteAddress); /** - * Increments the number of the errors that are occurred. + * Increments the number of the errors that have occurred. * * @param remoteAddress The remote peer * @param proxyAddress The proxy address diff --git a/reactor-netty-core/src/main/java/reactor/netty/channel/ContextAwareChannelMetricsRecorder.java b/reactor-netty-core/src/main/java/reactor/netty/channel/ContextAwareChannelMetricsRecorder.java index 1c3bc30f8d..aac34e9646 100644 --- a/reactor-netty-core/src/main/java/reactor/netty/channel/ContextAwareChannelMetricsRecorder.java +++ b/reactor-netty-core/src/main/java/reactor/netty/channel/ContextAwareChannelMetricsRecorder.java @@ -30,7 +30,7 @@ public abstract class ContextAwareChannelMetricsRecorder implements ChannelMetricsRecorder { /** - * Increments the number of the errors that are occurred. + * Increments the number of the errors that have occurred. * * @param contextView The current {@link ContextView} associated with the Mono/Flux pipeline * @param remoteAddress The remote peer @@ -38,7 +38,7 @@ public abstract class ContextAwareChannelMetricsRecorder implements ChannelMetri public abstract void incrementErrorsCount(ContextView contextView, SocketAddress remoteAddress); /** - * Increments the number of the errors that are occurred. + * Increments the number of the errors that have occurred. * * @param contextView The current {@link ContextView} associated with the Mono/Flux pipeline * @param remoteAddress The remote peer diff --git a/reactor-netty-http/src/main/java/reactor/netty/http/client/ContextAwareHttpClientMetricsRecorder.java b/reactor-netty-http/src/main/java/reactor/netty/http/client/ContextAwareHttpClientMetricsRecorder.java index 4997598c4b..b740fb5a98 100644 --- a/reactor-netty-http/src/main/java/reactor/netty/http/client/ContextAwareHttpClientMetricsRecorder.java +++ b/reactor-netty-http/src/main/java/reactor/netty/http/client/ContextAwareHttpClientMetricsRecorder.java @@ -120,7 +120,7 @@ public void recordResponseTime(ContextView contextView, SocketAddress remoteAddr } /** - * Increments the number of the errors that are occurred. + * Increments the number of the errors that have occurred. * * @param contextView The current {@link ContextView} associated with the Mono/Flux * @param remoteAddress The remote peer diff --git a/reactor-netty-http/src/main/java/reactor/netty/http/client/HttpClientMetricsRecorder.java b/reactor-netty-http/src/main/java/reactor/netty/http/client/HttpClientMetricsRecorder.java index b3dc7b4359..0bf3262ec5 100644 --- a/reactor-netty-http/src/main/java/reactor/netty/http/client/HttpClientMetricsRecorder.java +++ b/reactor-netty-http/src/main/java/reactor/netty/http/client/HttpClientMetricsRecorder.java @@ -130,7 +130,7 @@ default void recordDataSent(SocketAddress remoteAddress, SocketAddress proxyAddr } /** - * Increments the number of the errors that are occurred. + * Increments the number of the errors that have occurred. * * @param remoteAddress The remote peer * @param proxyAddress the proxy address