javax.swing.DefaultPopupFactory.* inner classes should be package-private

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.3.0
    • Component/s: client-libs



      Name: krT82822 Date: 02/06/2000


      java 1.3rc1

      javax.swing.DefaultPopupFactory is a package-private class
      It has three protected inner classes.

      Since the containing class is package private, it cannot be subclassed
      by anything outside of the package. Therefore, making the inner classes
      protected doesn't buy you anything.

      Since there is no reason to make them protected, it would be better (IMHO) to
      leave them package private.
      (Review ID: 100793)
      ======================================================================

            Assignee:
            Scott Violet (Inactive)
            Reporter:
            Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: