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

Juan José Ramos Cassella updated GEODE-7226:
--------------------------------------------
    Labels: GeodeCommons  (was: )

> StaticFieldsMustBeImmutable Rule Fails to detect @Immutable at the class level
> ------------------------------------------------------------------------------
>
>                 Key: GEODE-7226
>                 URL: https://issues.apache.org/jira/browse/GEODE-7226
>             Project: Geode
>          Issue Type: Bug
>          Components: build
>            Reporter: Juan José Ramos Cassella
>            Priority: Major
>              Labels: GeodeCommons
>
> The {{StaticFieldsMustBeImmutable}} rule fails to detect the {{@Immutable}} 
> annotation at the class level, forcing you to annotate every single 
> effectively immutable static field individually.
>  According to the rule documentation, however, annotating the class directly 
> is supported:
> {quote}If the value of your static field is actually immutable, you can 
> annotate that class or the field itself with @Immutable, and it will be 
> ignored by this rule.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to