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

Improve S1905 (Redundant cast) rule precision by relying on compiler warnings

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: Frontend, Rules
    • Labels:
      None

      Description

      For the rule RSPEC-1905 (Redundant cast) there are compiler warnings in Eclipse compiler that we can read and use.

      In order to benefit from these warnings a mechanism to map compiler warnings to existing rules should be implemented.

      It is possible to extend the list of such rules in the future.

      The related compiler warning is UnnecessaryCast, id: 553648309.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sebastian.hungerecker Sebastian Hungerecker
                Reporter:
                margarita.nedzelska Margarita Nedzelska
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated: