RFR: 8283203: Fix typo in SystemTray.getTrayIconSize javadoc
Alexey Ivanov
aivanov at openjdk.org
Tue Jan 17 16:11:17 UTC 2023
On Tue, 17 Jan 2023 01:53:05 GMT, SWinxy <duke at openjdk.org> wrote:
> Please review this itty-bitty typo fix.
Thank you for taking this one. It looks good to me except for additional words in the description.
Could you also update the copyright year?
src/java.desktop/share/classes/java/awt/SystemTray.java line 348:
> 346: * Returns the size, in pixels, of the space that a tray icon will
> 347: * occupy in the system tray. Developers may use this method to
> 348: * acquire the preferred size for the image property of a tray icon
Suggestion:
* acquire the preferred size of a tray icon
_“the image property”_ seems out of place, nor does it add clarity.
-------------
PR: https://git.openjdk.org/jdk/pull/12020
More information about the client-libs-dev
mailing list