Removed unnecessary String.valueOf() call in StringEncoder
This commit is contained in:
parent
8a35a9aad3
commit
57ed3c1ee8
@ -93,6 +93,6 @@ public class StringEncoder extends OneToOneEncoder {
|
||||
if (!(msg instanceof String)) {
|
||||
return msg;
|
||||
}
|
||||
return copiedBuffer(String.valueOf(msg), charsetName);
|
||||
return copiedBuffer((String) msg, charsetName);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user