Fix various netconf warnings
[controller.git] / opendaylight / netconf / netconf-netty-util / src / main / java / org / opendaylight / controller / netconf / nettyutil / handler / ssh / client / AsyncSshHandlerWriter.java
index 667a4f6bf8dd23414986ba1de71598861155565e..2716072889484c0ff3e5f7bfd63359d3e1914a33 100644 (file)
@@ -171,7 +171,7 @@ public final class AsyncSshHandlerWriter implements AutoCloseable {
         asyncIn = null;
     }
 
-    private Buffer toBuffer(final ByteBuf msg) {
+    private static Buffer toBuffer(final ByteBuf msg) {
         // TODO Buffer vs ByteBuf translate, Can we handle that better ?
         msg.resetReaderIndex();
         final byte[] temp = new byte[msg.readableBytes()];