On Tue, 12 Apr 2022 18:12:03 GMT, Lance Andersen <lan...@openjdk.org> wrote:

>> Volker Simonis has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Adapted wording based on @AlanBateman's review, removed implementation 
>> note on ZipFile::getInputStream and aligned wording for all ::read methods
>
> src/java.base/share/classes/java/util/zip/GZIPInputStream.java line 103:
> 
>> 101:      * elements {@code buf[off+}<i>n</i>{@code ]} through {@code 
>> buf[off+}<i>len</i>{@code -1]}
>> 102:      * are undefined (an implementation is free to change them during 
>> the inflate
>> 103:      * operation). If the return value is -1 or an exception is thrown 
>> then {@code buf[off]}
> 
> perhaps tweak "... is thrown then" 
> 
> to
> 
> "... is thrown, then the contents of..."

Updated as requested (also in `ZipInputStream` and `InflaterInputStream`).

-------------

PR: https://git.openjdk.java.net/jdk/pull/7986

Reply via email to