Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8263894

Convert defaultPrinter and printers fields to local variables

XMLWordPrintable

    • 2d
    • b15
    • windows

      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.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: