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-177) final arrays should be private
Date Wed, 17 Sep 2014 20:58:34 GMT

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

Philipp Ottlinger resolved RAT-177.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.12

> final arrays should be private
> ------------------------------
>
>                 Key: RAT-177
>                 URL: https://issues.apache.org/jira/browse/RAT-177
>             Project: Apache Rat
>          Issue Type: Bug
>    Affects Versions: 0.11
>            Reporter: Sebb
>            Assignee: Philipp Ottlinger
>             Fix For: 0.12
>
>
> There are quite a few public string arrays in the guessers and the file Defaults.java
> These are intended to be constants, but elements of a final array are not themselves
final.
> The arrays should be made private, and suitable accessors provided, depending on how
the entries are used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message