From fbcc1f66403876f574037edbeeb5ba74e820825d Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Mon, 27 Mar 2023 15:00:03 +0300 Subject: [PATCH] javadocs updated --- .../java/org/redisson/connection/ConnectionListener.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/redisson/src/main/java/org/redisson/connection/ConnectionListener.java b/redisson/src/main/java/org/redisson/connection/ConnectionListener.java index 666b47a1f..f6355eb62 100644 --- a/redisson/src/main/java/org/redisson/connection/ConnectionListener.java +++ b/redisson/src/main/java/org/redisson/connection/ConnectionListener.java @@ -28,7 +28,8 @@ import java.net.InetSocketAddress; public interface ConnectionListener { /* - * Use onConnect(InetSocketAddress, NodeType) method instead + * Implement onConnect(InetSocketAddress, NodeType) method instead. + * It can be empty. */ @Deprecated void onConnect(InetSocketAddress addr); @@ -45,7 +46,8 @@ public interface ConnectionListener { } /* - * Use onDisconnect(InetSocketAddress, NodeType) method instead + * Implement onDisconnect(InetSocketAddress, NodeType) method instead. + * It can be empty. */ @Deprecated void onDisconnect(InetSocketAddress addr);