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

Mark Hanson closed GEODE-7226.
------------------------------

Transition from Resolved to Closed for Apache Geode 1.11.0 RC4 release.

> 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 Ramos
>            Assignee: Juan Ramos
>            Priority: Major
>              Labels: GeodeCommons
>             Fix For: 1.11.0
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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