[OpenJDK 2D-Dev] RFR: 8263894: Convert defaultPrinter and printers fields to local variables [v2]

Alexander Zuev kizune at openjdk.java.net
Sat Mar 20 18:16:40 UTC 2021

On Fri, 19 Mar 2021 21:28:54 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> `PrintServiceLookupProvider` has `defaultPrinter` and `printers` fields but they are used only in `getDefaultPrintService()` and `refreshServices()` correspondingly. Thus these two fields can be converted to local variables in the corresponding methods.
> Alexey Ivanov has updated the pull request incrementally with one additional commit since the last revision:
>   Bring back the comment for printServices

Marked as reviewed by kizune (Reviewer).


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

More information about the 2d-dev mailing list