Replace tabs with spaces
This commit is contained in:
parent
b82ee7341c
commit
5094bdc0cc
@ -75,7 +75,7 @@ public class ByteArrayDecoder extends OneToOneDecoder {
|
||||
} else {
|
||||
// copy the ChannelBuffer to a byte array
|
||||
|
||||
array = new byte[buf.readableBytes()];
|
||||
array = new byte[buf.readableBytes()];
|
||||
buf.getBytes(0, array);
|
||||
}
|
||||
return array;
|
||||
|
@ -64,6 +64,6 @@ public class ByteArrayEncoder extends OneToOneEncoder {
|
||||
return msg;
|
||||
}
|
||||
return wrappedBuffer((byte[]) msg);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user