creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Ottlinger (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (RAT-144) AbstractRatMojo String constant arrays should be private
Date Wed, 30 Jul 2014 20:40:38 GMT

     [ https://issues.apache.org/jira/browse/RAT-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Philipp Ottlinger resolved RAT-144.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.11

Refactored arrays into lists in rev1614759.

> AbstractRatMojo String constant arrays should be private
> --------------------------------------------------------
>
>                 Key: RAT-144
>                 URL: https://issues.apache.org/jira/browse/RAT-144
>             Project: Apache Rat
>          Issue Type: Bug
>          Components: maven
>            Reporter: Sebb
>            Assignee: Philipp Ottlinger
>             Fix For: 0.11
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message