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

Clean up ScrollPane: drop redundant initialiser, mark scroller final

    XMLWordPrintable

Details

    • b06

    Description

      ScrollPane.layout has a redundant initialiser:
              Dimension vs = getViewportSize();
      The value of 'vs' variable is reassigned below.

      The scroller field in ScrollPane.PeerFixer can be final.

      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: