Skip to content

Commit 8708130

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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
@@ -66,7 +66,7 @@ where
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

0 commit comments

Comments
 (0)