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.