Remove recundant type casting
This commit is contained in:
parent
27dc582e2b
commit
8ad50a3e9c
@ -749,7 +749,7 @@ public class HttpPostRequestEncoder implements ChunkedMessageInput<HttpChunk> {
|
|||||||
}
|
}
|
||||||
ByteBuf buffer;
|
ByteBuf buffer;
|
||||||
if (currentData instanceof InternalAttribute) {
|
if (currentData instanceof InternalAttribute) {
|
||||||
String internal = ((InternalAttribute) currentData).toString();
|
String internal = currentData.toString();
|
||||||
byte[] bytes;
|
byte[] bytes;
|
||||||
try {
|
try {
|
||||||
bytes = internal.getBytes("ASCII");
|
bytes = internal.getBytes("ASCII");
|
||||||
|
Loading…
Reference in New Issue
Block a user