Skip to content

Commit b2ba0d7

Browse files
NapalysCopilot
andauthored
Update java/ql/src/Violations of Best Practice/Implementation Hiding/VisibleForTestingAbuse.ql
Co-authored-by: Copilot <[email protected]>
1 parent 66482b6 commit b2ba0d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/Violations of Best Practice/Implementation Hiding/VisibleForTestingAbuse.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ where
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

0 commit comments

Comments
 (0)