From df1b06b5626a15f69b5ea2e27219aeee83f55201 Mon Sep 17 00:00:00 2001 From: Enes Durmus Date: Thu, 25 Dec 2025 18:15:49 +0300 Subject: [PATCH] Fix typo in java:S1319 rule description --- rules/S1319/java/rule.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/S1319/java/rule.adoc b/rules/S1319/java/rule.adoc index 16ea2502cb8..efd806ef3b1 100644 --- a/rules/S1319/java/rule.adoc +++ b/rules/S1319/java/rule.adoc @@ -15,7 +15,7 @@ cover the essential features. When passing collections as method parameters, return values, or when exposing fields, it is generally recommended to use these interfaces instead of the implementing classes. The implementing classes, such as `java.util.LinkedList`, `java.util.ArrayList`, -and `java.util.HasMap`, should only be used for collection instantiation. +and `java.util.HashMap`, should only be used for collection instantiation. They provide finer control over the performance characteristics of those structures, and developers choose them depending on their use case.