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

Dmitry Markov dmarkov at openjdk.org
Tue Feb 24 16:04:39 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 dmarkov (Reviewer).

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

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


More information about the client-libs-dev mailing list