Skip to content

Commit 33ae086

Browse files
felicitymayatorralba
authored andcommitted
Apply suggestions from code review
Co-authored-by: Tony Torralba <[email protected]>
1 parent d6ae5c8 commit 33ae086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/codeql/codeql-language-guides/codeql-library-for-java.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ For annotations, class ``Annotatable`` is a superclass of all program elements t
270270
from Constructor c
271271
select c.getAnAnnotation()
272272
273-
You may see examples where annottions are used to suppress warnings or to mark code as deprecated.
273+
You may see examples where annotations are used to suppress warnings or to mark code as deprecated.
274274

275275
These annotations are represented by class ``Annotation``. An annotation is simply an expression whose type is an ``AnnotationType``. For example, you can amend this query so that it only reports deprecated constructors:
276276

@@ -369,7 +369,7 @@ Conversely, ``Callable.getAReference`` returns a ``Call`` that refers to it. So
369369
where not exists(c.getAReference())
370370
select c
371371
372-
Codebases often have many methods that are not called direcstly, but this is unlikely to be the whole story. To explore this area further, see ":doc:`Navigating the call graph <navigating-the-call-graph>`."
372+
Codebases often have many methods that are not called directly, but this is unlikely to be the whole story. To explore this area further, see ":doc:`Navigating the call graph <navigating-the-call-graph>`."
373373

374374
For more information about callables and calls, see the :doc:`article on the call graph <navigating-the-call-graph>`.
375375

0 commit comments

Comments
 (0)