Fix findbugs violations in netconf
[netconf.git] / netconf / netconf-netty-util / src / test / java / org / opendaylight / netconf / nettyutil / handler / ChunkedFramingMechanismEncoderTest.java
index c8837dfd95c5d54e20d951bfc5f300c6b5c59a8b..bb95ff1b0223e8390d22769f7b8eb2649270735b 100644 (file)
@@ -55,10 +55,10 @@ public class ChunkedFramingMechanismEncoderTest {
 
         byte[] buf = new byte[destination.readableBytes()];
         destination.readBytes(buf);
-        String s = StandardCharsets.US_ASCII.decode(ByteBuffer.wrap(buf)).toString();
+        String string = StandardCharsets.US_ASCII.decode(ByteBuffer.wrap(buf)).toString();
 
-        assertTrue(s.startsWith("\n#256\na"));
-        assertTrue(s.endsWith("\n#20\naaaaaaaaaaaaaaaaaaaa\n##\n"));
+        assertTrue(string.startsWith("\n#256\na"));
+        assertTrue(string.endsWith("\n#20\naaaaaaaaaaaaaaaaaaaa\n##\n"));
     }
 
     private static byte[] getByteArray(final int size) {