-
Notifications
You must be signed in to change notification settings - Fork 706
SONARJAVA-4093 don't raise issues in S3252 when class owning static field is not accessible from the current package #4948
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
Conversation
dorian-burihabwa-sonarsource
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try and arrange the sources into their specific directory
java-checks/src/main/java/org/sonar/java/checks/StaticMemberAccessCheck.java
Show resolved
Hide resolved
java-checks/src/main/java/org/sonar/java/checks/StaticMemberAccessCheck.java
Outdated
Show resolved
Hide resolved
java-checks/src/main/java/org/sonar/java/checks/StaticMemberAccessCheck.java
Outdated
Show resolved
Hide resolved
dorian-burihabwa-sonarsource
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are almost there. We just need to add a couple of small improvements to finish the job
java-checks/src/test/java/org/sonar/java/checks/StaticMemberAccessCheckTest.java
Outdated
Show resolved
Hide resolved
java-checks/src/test/java/org/sonar/java/checks/StaticMemberAccessCheckTest.java
Outdated
Show resolved
Hide resolved
...efault/src/main/java/checks/S3252_StaticMemberAccessCheckSample/S3252TestDefaultPackage.java
Outdated
Show resolved
Hide resolved
java-checks/src/main/java/org/sonar/java/checks/StaticMemberAccessCheck.java
Outdated
Show resolved
Hide resolved
java-checks/src/test/java/org/sonar/java/checks/StaticMemberAccessCheckTest.java
Outdated
Show resolved
Hide resolved
java-checks/src/test/java/org/sonar/java/checks/StaticMemberAccessCheckTest.java
Show resolved
Hide resolved
|




SONARJAVA-4093
Part of