Hide NAME_OF_EXCEPTION_HANDLER 33/101433/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Jun 2022 09:09:07 +0000 (11:09 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 2 Jun 2022 09:09:07 +0000 (11:09 +0200)
Do not expose NAME_OF_EXCEPTION_HANDLER as it is only used internally.

Change-Id: Icae01cfa0aeed0dd4c670d319beb5c5e11e3c299
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/AbstractNetconfSessionNegotiator.java

index 15db27a4c4ab9b0f4cb645af3bee090871045769..bbe563b5b19e8ea5b5fed2cf92ac81c74df61e0c 100644 (file)
@@ -49,8 +49,7 @@ public abstract class AbstractNetconfSessionNegotiator<P extends NetconfSessionP
     }
 
     private static final Logger LOG = LoggerFactory.getLogger(AbstractNetconfSessionNegotiator.class);
-
-    public static final String NAME_OF_EXCEPTION_HANDLER = "lastExceptionHandler";
+    private static final String NAME_OF_EXCEPTION_HANDLER = "lastExceptionHandler";
 
     protected final P sessionPreferences;
     protected final Channel channel;