Commit 8a3c5cc9 authored by Jisi Liu's avatar Jisi Liu

Fix java code example

parent ce2d5282
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
* Proto3 messages are now preserving unknown fields by default. If you’d like * Proto3 messages are now preserving unknown fields by default. If you’d like
to drop unknown fields, please use the DiscardUnknownFieldsParser  API. For to drop unknown fields, please use the DiscardUnknownFieldsParser  API. For
example: example:
* Parser<Foo> parser = DiscardUnknownFieldsParser.wrap(Foo.parser()); Parser<Foo> parser = DiscardUnknownFieldsParser.wrap(Foo.parser());
* Foo foo = parser.parseFrom(input); Foo foo = parser.parseFrom(input);
* Added a new CodedInputStream decoder for Iterable<ByteBuffer> with direct * Added a new CodedInputStream decoder for Iterable<ByteBuffer> with direct
ByteBuffers. ByteBuffers.
* TextFormat now prints unknown length-delimited fields as messages if * TextFormat now prints unknown length-delimited fields as messages if
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment