Remove recundant type casting

This commit is contained in:
Trustin Lee 2012-11-10 02:13:15 +09:00
parent 27dc582e2b
commit 8ad50a3e9c

View File

@ -749,7 +749,7 @@ public class HttpPostRequestEncoder implements ChunkedMessageInput<HttpChunk> {
}
ByteBuf buffer;
if (currentData instanceof InternalAttribute) {
String internal = ((InternalAttribute) currentData).toString();
String internal = currentData.toString();
byte[] bytes;
try {
bytes = internal.getBytes("ASCII");