RFR: 8326096: Deprecate getTotalIn, getTotalOut methods of java.util.zip.Inflater, java.util.zip.Deflater [v10]
Lance Andersen
lancea at openjdk.org
Tue Feb 27 20:16:45 UTC 2024
On Tue, 27 Feb 2024 20:01:30 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:
> After some offline discussion about the redundant text, we decided to keep to the new method description text, but reduce the `@deprecated` note to simply refer to the replacement method:
>
> ```
> /**
> * Returns the total number of compressed bytes input so far.
> * <p>
> * This method returns the equivalent of {@code (int) getBytesRead()}
> * and therefore cannot return the correct value when it is greater
> * than {@link Integer#MAX_VALUE}.
> *
> * @deprecated Use {@link #getBytesRead()} instead
> *
> * @return the total number of compressed bytes input so far
> */
> ```
>
> Barring any objections, I'll to go ahead with the update of the rest of the methods and update the CSR draft tomorrow.
Yes please move forward and thank you
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17919#issuecomment-1967517931
More information about the core-libs-dev
mailing list