X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=netconf%2Fnetconf-netty-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fnettyutil%2FNeverReconnectStrategy.java;h=d59a36f952bf423795f66938ca5b35dd244bcf14;hb=a201b000f7d777bd7b53748c3f13487fbb398599;hp=dc501eab736526ead34b24fe3d22538055a7717c;hpb=6163f691593acf24d8aa0da8f4d621860f782e7d;p=netconf.git diff --git a/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/NeverReconnectStrategy.java b/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/NeverReconnectStrategy.java index dc501eab73..d59a36f952 100644 --- a/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/NeverReconnectStrategy.java +++ b/netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/NeverReconnectStrategy.java @@ -10,14 +10,11 @@ package org.opendaylight.netconf.nettyutil; import com.google.common.base.Preconditions; import io.netty.util.concurrent.EventExecutor; import io.netty.util.concurrent.Future; -import javax.annotation.concurrent.ThreadSafe; /** - * Utility ReconnectStrategy singleton, which will cause the reconnect process - * to always fail. + * Utility ReconnectStrategy singleton, which will cause the reconnect process to always fail. This class is thred-safe. */ @Deprecated -@ThreadSafe public final class NeverReconnectStrategy implements ReconnectStrategy { private final EventExecutor executor; private final int timeout;