creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAT-177) final arrays should be private
Date Tue, 16 Sep 2014 21:34:34 GMT

    [ https://issues.apache.org/jira/browse/RAT-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14136276#comment-14136276
] 

Sebb commented on RAT-177:
--------------------------

Yes, that seems fine.
I just fixed the guessers; the arrays were only needed locally so made them private

> 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
>
> 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