diff --git a/rules/S2384/java/rule.adoc b/rules/S2384/java/rule.adoc index 26de2782853..2291f536b9f 100644 --- a/rules/S2384/java/rule.adoc +++ b/rules/S2384/java/rule.adoc @@ -12,8 +12,7 @@ This rule checks that private arrays, collections and Dates are not stored or re The rule violation is not reported for mutable values stored in private methods if no non-private methods directly passes a mutable parameter to them. -Similarly, the rule violation is not reported for mutable values returned by a private getter, when the getter's value is not returned directly by a non-proviate method. - +Similarly, rule violations are not reported for mutable values returned by a private getter if that getter's value is not directly exposed by a non-private method. === Noncompliant code example