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 50
50
exists ( FieldAccess v |
51
51
v = e and
52
52
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
54
54
(
55
55
// if its package protected report when its used outside its class bc it should have been private (class only permitted)
56
56
v .getField ( ) .isPackageProtected ( ) and
66
66
exists ( MethodCall c |
67
67
c = e and
68
68
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
70
70
(
71
71
// if its package protected report when its used outside its class bc it should have been private (class only permitted)
72
72
c .getMethod ( ) .isPackageProtected ( ) and
You can’t perform that action at this time.
0 commit comments