Uploaded image for project: 'SonarJava'
  1. SonarJava
  2. SONARJAVA-3478

S2201: Support common Collection and Map methods

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.9
    • Component/s: Rules
    • Labels:

      Description

      S2201 already support common methods, we should extends the list with methods from:

      • java.util.Collection:
        • size
        • isEmpty
        • contains
        • containsAll
        • iterator
        • toArray (without argument)
      • java.util.Map:
        • get
        • getOrDefault
        • size
        • isEmpty
        • containsKey
        • containsValue
        • keySet
        • entrySet
        • values

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael.gumowski Michael Gumowski
                Reporter:
                quentin.jaquier Quentin Jaquier
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: