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

Convert defaultPrinter and printers fields to local variables

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b15
    • OS:
      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

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

                Dates

                Created:
                Updated:
                Resolved: