Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnnecessaryImportRule - check also the usage in static imports #136

Open
komasztania opened this issue Jan 30, 2024 · 0 comments
Open

UnnecessaryImportRule - check also the usage in static imports #136

komasztania opened this issue Jan 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@komasztania
Copy link
Collaborator

komasztania commented Jan 30, 2024

Describe the bug
When the imported class is used as the element of the static import, there is the issue.
It is false.

To Reproduce
Sample file attached: SampleAttributeEnhancement.gsx

Expected behavior
When the class is also used in the static imports, there should be no issue.

Screenshots
Screenshot 2024-01-30 at 20 59 58

Software Versions

  • SonarScanner Version: 4.7.0.2747
  • SonarQube Version: 8.9.10
  • Plugin Version: sonar-communitygosu-plugin-1.2.2.jar
@komasztania komasztania added the bug Something isn't working label Jan 30, 2024
@josimar-silva josimar-silva removed their assignment Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants