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

Convert defaultPrinter and printers fields to local variables

    XMLWordPrintable

Details

    • 2d
    • b15
    • windows

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: