On Tue, 11 Jul 2023 11:44:15 GMT, Alexey Ivanov <[email protected]> wrote:
> A small clean-up of `awt.ScrollPane` code: > > 1. Remove the redundant initialiser for `vs` in `layout` and move the > declaration to where it's used. (One less `Dimension` object is created.) > 2. Mark the `scroller` field of the `PeerFixer` class as `final`. > > Perhaps, the `PeerFixer` class could be `final` too. This pull request has now been integrated. Changeset: aac903db Author: Alexey Ivanov <[email protected]> URL: https://git.openjdk.org/jdk/commit/aac903dbfb7dfb42464cad23aa9f1d536b55cfc1 Stats: 4 lines in 1 file changed: 0 ins; 1 del; 3 mod 8311805: Clean up ScrollPane: drop redundant initialiser, mark scroller final Reviewed-by: azvegint, serb, prr ------------- PR: https://git.openjdk.org/jdk/pull/14827
