Replace tabs with spaces

This commit is contained in:
Norman Maurer 2011-11-04 19:18:28 +01:00
parent b82ee7341c
commit 5094bdc0cc
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ public class ByteArrayDecoder extends OneToOneDecoder {
} else { } else {
// copy the ChannelBuffer to a byte array // copy the ChannelBuffer to a byte array
array = new byte[buf.readableBytes()]; array = new byte[buf.readableBytes()];
buf.getBytes(0, array); buf.getBytes(0, array);
} }
return array; return array;

View File

@ -64,6 +64,6 @@ public class ByteArrayEncoder extends OneToOneEncoder {
return msg; return msg;
} }
return wrappedBuffer((byte[]) msg); return wrappedBuffer((byte[]) msg);
} }
} }