From e40a8eb3c81351ec8ba4cca8e98ae6a6e2cf8364 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 2 Dec 2014 18:27:20 +0100 Subject: [PATCH] Do not force toString() in NetconfClientSession Passing 'this' will cause toString() to be invoked if needed. Change-Id: I3859cee6aafd26bf57107f66fb20695b3df15c93 Signed-off-by: Robert Varga --- .../controller/netconf/client/NetconfClientSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientSession.java b/opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientSession.java index 732b8fa1ca..9bafe9760a 100644 --- a/opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientSession.java +++ b/opendaylight/netconf/netconf-client/src/main/java/org/opendaylight/controller/netconf/client/NetconfClientSession.java @@ -36,7 +36,7 @@ public class NetconfClientSession extends AbstractNetconfSession capabilities) { super(sessionListener, channel, sessionId); this.capabilities = capabilities; - LOG.debug("Client Session {} created", toString()); + LOG.debug("Client Session {} created", this); } public Collection getServerCapabilities() { -- 2.36.6