diff options
author | cnauroth <cnauroth@apache.org> | 2015-02-23 10:00:03 -0800 |
---|---|---|
committer | cnauroth <cnauroth@apache.org> | 2015-02-23 10:00:03 -0800 |
commit | 85081986baf051c39bb4720249b252c2758d03a9 (patch) | |
tree | 6ed07ba3c9d5c0d9c7ef7df3b8fd7c7a381f5210 | |
parent | 0a7fc8f88805198cde6643b5429d16f8402031e0 (diff) | |
download | protobuf-85081986baf051c39bb4720249b252c2758d03a9.tar.gz protobuf-85081986baf051c39bb4720249b252c2758d03a9.tar.bz2 protobuf-85081986baf051c39bb4720249b252c2758d03a9.zip |
Correct JavaDoc return value documentation for Parser#parseDelimitedFrom.
-rw-r--r-- | java/src/main/java/com/google/protobuf/Parser.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/main/java/com/google/protobuf/Parser.java b/java/src/main/java/com/google/protobuf/Parser.java index f636014b..227c02b7 100644 --- a/java/src/main/java/com/google/protobuf/Parser.java +++ b/java/src/main/java/com/google/protobuf/Parser.java @@ -227,8 +227,8 @@ public interface Parser<MessageType> { * {@link MessageLite#writeDelimitedTo(java.io.OutputStream)} to write * messages in this format. * - * @return True if successful, or false if the stream is at EOF when the - * method starts. Any other error (including reaching EOF during + * @return Parsed message if successful, or null if the stream is at EOF when + * the method starts. Any other error (including reaching EOF during * parsing) will cause an exception to be thrown. */ public MessageType parseDelimitedFrom(InputStream input) |