broker/DebugUtils: code formatter used

This commit is contained in:
Andreas Mager
2017-02-01 17:13:39 +01:00
parent 4167861071
commit 0655f20543
@@ -13,10 +13,10 @@
* *
* You may elect to redistribute this code under either of these licenses. * You may elect to redistribute this code under either of these licenses.
*/ */
package io.moquette.spi.impl; package io.moquette.spi.impl;
import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBuf;
import java.nio.ByteBuffer; import java.nio.ByteBuffer;
/** /**
@@ -24,6 +24,7 @@ import java.nio.ByteBuffer;
* @author andrea * @author andrea
*/ */
class DebugUtils { class DebugUtils {
static String payload2Str(ByteBuffer content) { static String payload2Str(ByteBuffer content) {
byte[] b = new byte[content.remaining()]; byte[] b = new byte[content.remaining()];
content.mark(); content.mark();