File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/ql/src/Violations of Best Practice/Implementation Hiding Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5050 exists ( FieldAccess v |
5151 v = e and
5252 v .getField ( ) = annotated and
53- // depending on the visiblity of the field, using the annotation to abuse the visibility may/may not be occurring
53+ // depending on the visibility of the field, using the annotation to abuse the visibility may/may not be occurring
5454 (
5555 // if its package protected report when its used outside its class bc it should have been private (class only permitted)
5656 v .getField ( ) .isPackageProtected ( ) and
6666 exists ( MethodCall c |
6767 c = e and
6868 c .getMethod ( ) = annotated and
69- // depending on the visiblity of the method, using the annotation to abuse the visibility may/may not be occurring
69+ // depending on the visibility of the method, using the annotation to abuse the visibility may/may not be occurring
7070 (
7171 // if its package protected report when its used outside its class bc it should have been private (class only permitted)
7272 c .getMethod ( ) .isPackageProtected ( ) and
You can’t perform that action at this time.
0 commit comments