Juan José Ramos Cassella created GEODE-7226:
-----------------------------------------------
Summary: 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
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)