On Sun, 3 Oct 2021 16:55:36 GMT, Andrey Turbanov 
<[email protected]> wrote:

> Cleanup unnecessary String.valueOf calls (and similar) when conversion will 
> happen implicitly anyway

src/java.desktop/share/classes/javax/swing/text/html/OptionListModel.java line 
459:

> 457:     public String toString() {
> 458:         String s =  ((getValueIsAdjusting()) ? "~" : "=") + 
> value.toString();
> 459:         return getClass().getName() + " " + hashCode() + " " + s;

Please change copyright year for this file

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

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

Reply via email to