[OpenJDK 2D-Dev] Integrated: 8263894: Convert defaultPrinter and printers fields to local variables
aivanov at openjdk.java.net
Mon Mar 22 15:58:39 UTC 2021
On Fri, 19 Mar 2021 20:35:03 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.
This pull request has now been integrated.
Author: Alexey Ivanov <aivanov at openjdk.org>
Stats: 4 lines in 1 file changed: 0 ins; 2 del; 2 mod
8263894: Convert defaultPrinter and printers fields to local variables
Reviewed-by: prr, azvegint, kizune
More information about the 2d-dev