[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    [OpenJDK 2D-Dev] Integrated: 8263894: Convert defaultPrinter and printers fields to local variables
From:       Alexey Ivanov <aivanov () openjdk ! java ! net>
Date:       2021-03-22 15:58:39
Message-ID: ilx2i1H_BuftPhHvCmT9IML2CVeK2ubtr1Uay03aU0o=.56c9f075-9572-4039-9edc-2772b8408612 () github ! com
[Download RAW message or body]

On Fri, 19 Mar 2021 20:35:03 GMT, Alexey Ivanov <aivanov@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.

Changeset: 840ab7bf
Author:    Alexey Ivanov <aivanov@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/840ab7bf
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

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic