[OpenJDK 2D-Dev] RFR: 8263894: Convert defaultPrinter and printers fields to local variables [v2]
Alexey Ivanov
aivanov at openjdk.java.net
Fri Mar 19 21:28:54 UTC 2021
> `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
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3095/files
- new: https://git.openjdk.java.net/jdk/pull/3095/files/cfe460c2..2b98fec2
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3095&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3095&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/3095.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3095/head:pull/3095
PR: https://git.openjdk.java.net/jdk/pull/3095
More information about the 2d-dev
mailing list