Fix typo in ProtobufDecoder comment
This commit is contained in:
parent
540c26bb56
commit
0b939a96cf
@ -69,7 +69,7 @@ public class ProtobufDecoder extends MessageToMessageDecoder<ByteBuf> {
|
||||
static {
|
||||
boolean hasParser = false;
|
||||
try {
|
||||
// MessageLite.getParsetForType() is not available until protobuf 2.5.0.
|
||||
// MessageLite.getParserForType() is not available until protobuf 2.5.0.
|
||||
MessageLite.class.getDeclaredMethod("getParserForType");
|
||||
hasParser = true;
|
||||
} catch (Throwable t) {
|
||||
|
Loading…
Reference in New Issue
Block a user