Uploaded image for project: 'SonarSlang'
  1. SonarSlang
  2. SONARSLANG-512

[Scala] Improve S1144 message to not use "method" for "fields"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Not an issue
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: Scala
    • Labels:
      None

      Description

      See this issue on Peachee https://peach.sonarsource.com/project/issues?id=scala%3Aakka-http&open=AXN4uljjAU45TsSqc9n4&resolved=false&rules=scala%3AS1144

      project Akka HTTP
      file akka-http-core/src/main/scala/akka/http/javadsl/ServerBuilder.scala
      line 154

      executionContext is a field, not a method, but the message is "Remove this unused private "executionContext" method."

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            andrei.epure Andrei Epure
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: