From 13983247e9f8e42da11f5fb8e3f394ff15b19c2b Mon Sep 17 00:00:00 2001 From: Romain Brenguier Date: Tue, 27 May 2025 09:54:55 +0200 Subject: [PATCH] Modify rule S2384: improve sentence to fix typo There was a typo in the word "private". --- rules/S2384/java/rule.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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