On Fri, 21 Jun 2024 11:14:52 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> src/java.desktop/share/classes/javax/swing/plaf/basic/BasicSliderUI.java 
>> line 154:
>> 
>>> 152:      * Constructs a {@code BasicSliderUI}.
>>> 153:      */
>>> 154:     @Deprecated(since = "23")
>> 
>> You need to add `forRemoval = true` to deprecate this for removal. Also, we 
>> typically add a `@deprecated` javadoc tag in addition to the `@Deprecated` 
>> annotation.
>
> Yes, you're right.

Added forRemoval and @deprecated

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19819#discussion_r1648880085

Reply via email to