Uploaded image for project: 'Apache Rat'
  1. Apache Rat
  2. RAT-144

AbstractRatMojo String constant arrays should be private

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • Client - maven
    • None

    Description

      The String[] constants in AbstractRatMojo should be private.
      They are not used outside the class.

      Arrays entries are mutable, so it's not a good idea to expose them outside the class in which they are defined, otherwise malicious or accidental corruption can occur.

      Attachments

        Activity

          People

            pottlinger Philipp Ottlinger
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: