Skip to content

Commit 710ba3c

Browse files
authored
Merge pull request #10257 from igfoo/igfoo/hasModifier
Java: Correct hasModifier documentation
2 parents 8f33271 + 7ed18f1 commit 710ba3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/java/Modifier.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ abstract class Modifiable extends Element {
2020
* For most purposes, the more specialized predicates `isAbstract`, `isPublic`, etc.
2121
* should be used.
2222
*
23-
* Both this method and those specialized predicates take implicit modifiers into account.
23+
* Those specialized predicates also take implicit modifiers into account.
2424
* For instance, non-default instance methods in interfaces are implicitly
2525
* abstract, so `isAbstract()` will hold for them even if `hasModifier("abstract")`
2626
* does not.

0 commit comments

Comments
 (0)