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

FPs on S2384 and S2386 with Java 9 methods producing immutable collections

    Details

    • Type: False-Positive
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.13
    • Component/s: Rules
    • Labels:
      None

      Description

      Java 9 introduced new methods producing immutable collections List#of() ,
      Set#of() .

      Implementation of rules RSPEC-2384 and RSPEC-2386 needs to be updated to take into account these new methods to avoid FPs on these rules.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tibor.blenessy Tibor Blenessy
                Reporter:
                tibor.blenessy Tibor Blenessy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: