On Mon, 4 Jul 2022 06:57:12 GMT, ScientificWare <[email protected]> wrote:
> - Correct a deprecated code. > - Update Copyright. > - More wide question : How are you dealing with deprecated codes in snippets ? > ``` > @deprecated(since="9") > public Integer​(int value) > ``` This pull request has now been integrated. Changeset: 4ad18cf0 Author: ScientificWare <[email protected]> Committer: Andrey Turbanov <[email protected]> URL: https://git.openjdk.org/jdk/commit/4ad18cf088e12f3582b8f6117a44ae4607f69839 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod 8289730: Deprecated code sample in java.lang.ClassCastException Reviewed-by: darcy ------------- PR: https://git.openjdk.org/jdk/pull/9359
