RFR: 8225763: Inflater and Deflater should implement AutoCloseable [v14]
Jaikiran Pai
jpai at openjdk.org
Wed Jan 8 06:01:55 UTC 2025
On Tue, 7 Jan 2025 20:37:32 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
>>
>> change "@since" to 25
>
> src/java.base/share/classes/java/util/zip/Deflater.java line 815:
>
>> 813: * than {@link Integer#MAX_VALUE}.
>> 814: *
>> 815: * @throws IllegalStateException if the Deflater is closed
>
> @throws should follow @return; (Style notes in https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html).
Done - I've updated the PR to fix this and the other places that were introduced in this PR to follow that style guide.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19675#discussion_r1906521338
More information about the core-libs-dev
mailing list