From 9ed1e8d5ba5f08d608d23975479a9abb8ee25548 Mon Sep 17 00:00:00 2001 From: Tomek Kaminski Date: Fri, 19 Jan 2018 15:06:34 +0100 Subject: Move to EELF logging Changed all logs to use EELF framework without i18n Fixed another several sonar majors Change-Id: I4754a4428bcbb92170de63e34fc5c9c5cb34d9e9 Issue-ID: APPC-428 Signed-off-by: Tomek Kaminski --- .../src/test/java/org/onap/appc/ccadaptor/SshJcraftWrapperTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'appc-config/appc-config-adaptor/provider/src/test/java') diff --git a/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/SshJcraftWrapperTest.java b/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/SshJcraftWrapperTest.java index ef1bf7d7f..305017c56 100644 --- a/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/SshJcraftWrapperTest.java +++ b/appc-config/appc-config-adaptor/provider/src/test/java/org/onap/appc/ccadaptor/SshJcraftWrapperTest.java @@ -91,9 +91,9 @@ public class SshJcraftWrapperTest { public void testSetRouterCommandType2() throws IOException{ SshJcraftWrapper wrapper = new SshJcraftWrapper(); wrapper.appendToRouterFile("test", 2); - StringBuffer buffer = new StringBuffer(); - buffer.append("test"); - wrapper.appendToRouterFile("Test.txt", buffer); + StringBuilder sb = new StringBuilder(); + sb.append("test"); + wrapper.appendToRouterFile("Test.txt", sb); wrapper.receiveUntilBufferFlush(3, 4, "test"); } -- cgit 1.2.3-korg