Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-1156

Remove 'protected' member in 'final' class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Since final classes cannot be inherited, marking the method as protected may be confusing.
      IMO It is better to declare such members as private or package-visible instead.

       

      Of course I can be wrong.

      Attachments

        Activity

          People

            Unassigned Unassigned
            arturobernalg Arturo Bernal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: