Commit 0e5fc48e authored by Jisi Liu's avatar Jisi Liu

Merge pull request #216 from cnauroth/Parser-JavaDoc

Correct JavaDoc return value documentation for Parser#parseDelimitedFrom...
parents 0c59f2e6 85081986
...@@ -227,8 +227,8 @@ public interface Parser<MessageType> { ...@@ -227,8 +227,8 @@ public interface Parser<MessageType> {
* {@link MessageLite#writeDelimitedTo(java.io.OutputStream)} to write * {@link MessageLite#writeDelimitedTo(java.io.OutputStream)} to write
* messages in this format. * messages in this format.
* *
* @return True if successful, or false if the stream is at EOF when the * @return Parsed message if successful, or null if the stream is at EOF when
* method starts. Any other error (including reaching EOF during * the method starts. Any other error (including reaching EOF during
* parsing) will cause an exception to be thrown. * parsing) will cause an exception to be thrown.
*/ */
public MessageType parseDelimitedFrom(InputStream input) public MessageType parseDelimitedFrom(InputStream input)
......
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