SonarQube Java
  1. SonarQube Java
  2. SONARJAVA-207

Rule: Unused imports should be removed

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Activity

      Hide
      Dinesh Bolkensteyn added a comment -

      There was also another issue with java.lang packages:

      Classes such as 'java.lang.reflect.Array' seem to have to be explicitly imported, whereas we would create an issue (as the package starts with 'java.lang')

      Show
      Dinesh Bolkensteyn added a comment - There was also another issue with java.lang packages: Classes such as 'java.lang.reflect.Array' seem to have to be explicitly imported, whereas we would create an issue (as the package starts with 'java.lang')
      Hide
      Dinesh Bolkensteyn added a comment -

      We also had false positives on package annotations

      Show
      Dinesh Bolkensteyn added a comment - We also had false positives on package annotations
      Hide
      Dinesh Bolkensteyn added a comment -

      Fixed!

      Show
      Dinesh Bolkensteyn added a comment - Fixed!
      Hide
      Dinesh Bolkensteyn added a comment -

      Difference on Oracle JDK7: expected: 6233, actual: 2103

      Show
      Dinesh Bolkensteyn added a comment - Difference on Oracle JDK7: expected: 6233, actual: 2103
      Hide
      Fabrice Bellingard added a comment -

      Tested!

      Show
      Fabrice Bellingard added a comment - Tested!

        People

        • Assignee:
          Dinesh Bolkensteyn
          Reporter:
          Dinesh Bolkensteyn
        • Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: