소스 검색

Merge pull request #216 from cnauroth/Parser-JavaDoc

Correct JavaDoc return value documentation for Parser#parseDelimitedFrom...
Jisi Liu 10 년 전
부모
커밋
0e5fc48e58
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      java/src/main/java/com/google/protobuf/Parser.java

+ 2 - 2
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)