From: Robert Varga Date: Mon, 28 Oct 2019 12:45:05 +0000 (+0100) Subject: Do not use toString() in looging messages X-Git-Tag: release/neon-sr3~5 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=netconf.git;a=commitdiff_plain;h=4e5846ad7c1f8bf452fa89e0f9409ac648fccd90 Do not use toString() in looging messages This eliminates unnecessary toString() calls, as logging implementation will call it when necessary. Change-Id: Ic3b45b9ae34c29951ed6eea94cae39c423b6ec26 Signed-off-by: Robert Varga (cherry picked from commit 9be412d7d6acf298a740e8325f1382422e32afa1) --- diff --git a/netconf/netconf-impl/src/main/java/org/opendaylight/netconf/impl/NetconfServerSession.java b/netconf/netconf-impl/src/main/java/org/opendaylight/netconf/impl/NetconfServerSession.java index bb0964bb58..a08f52d1ca 100644 --- a/netconf/netconf-impl/src/main/java/org/opendaylight/netconf/impl/NetconfServerSession.java +++ b/netconf/netconf-impl/src/main/java/org/opendaylight/netconf/impl/NetconfServerSession.java @@ -69,7 +69,7 @@ public final class NetconfServerSession extends AbstractNetconfSession