RFR: 8378578: Add final to XbmColormap and XbmHints in XbmImageDecoder

Damon Nguyen dnguyen at openjdk.org
Wed Feb 25 11:00:14 UTC 2026


On Tue, 24 Feb 2026 15:50:57 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> A trivial clean up for `XbmImageDecoder` that marks the fields `XbmColormap` and `XbmHints` with the `final` modifier. These fields are constants.
> 
> In addition to the above, improve the javadoc by using the `@snippet`. Otherwise, all the lines of the XBM snippet are combined into one line.

Marked as reviewed by dnguyen (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/29896#pullrequestreview-3850563072


More information about the client-libs-dev mailing list