This is an automated email from the ASF dual-hosted git repository.

jjramos pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 64fb673  GEODE-7226: Fix StaticFieldsMustBeImmutable docs (#4078)
64fb673 is described below

commit 64fb67394508c3b0e083debef19394122445c3fe
Author: Juan José Ramos <[email protected]>
AuthorDate: Wed Sep 25 11:23:32 2019 +0100

    GEODE-7226: Fix StaticFieldsMustBeImmutable docs (#4078)
    
    - Fixed documentation for the 'StaticFieldsMustBeImmutable' rule so
      it matches the actual rule's behavior.
---
 .../src/main/resources/org/apache/geode/pmd/staticimmutable.xml       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/static-analysis/pmd-rules/src/main/resources/org/apache/geode/pmd/staticimmutable.xml
 
b/static-analysis/pmd-rules/src/main/resources/org/apache/geode/pmd/staticimmutable.xml
index bd1527a..03258f7 100644
--- 
a/static-analysis/pmd-rules/src/main/resources/org/apache/geode/pmd/staticimmutable.xml
+++ 
b/static-analysis/pmd-rules/src/main/resources/org/apache/geode/pmd/staticimmutable.xml
@@ -32,8 +32,8 @@
             Geode does not allow mutable static fields within the product 
code. All static
             fields must be marked final and be immutable objects.
 
-            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.
+            If the value of your static field is actually immutable, you can 
annotate the field
+            itself with @Immutable, and it will be ignored by this rule.
         </description>
         <priority>3</priority>
         <example>

Reply via email to