Skip to content

Commit d15342d

Browse files
authored
Fix table padding
1 parent 1343121 commit d15342d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/codeql/codeql-language-guides/abstract-syntax-tree-classes-for-working-with-java-programs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ Accesses
231231
+--------------------------------+---------------------+
232232
| ``a[i]`` | ArrayAccess_ |
233233
+--------------------------------+---------------------+
234-
| ``f(...)`` | MethodCall_ |
234+
| ``f(...)`` | MethodCall_ |
235235
+--------------------------------+ |
236236
| ``e.m(...)`` | |
237237
+--------------------------------+---------------------+

docs/codeql/codeql-language-guides/basic-query-for-java-code.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ After the initial ``import`` statement, this simple query comprises three parts
7272
+==================================================================================================+===================================================================================================================+===================================================================================================+
7373
| ``import java`` | Imports the standard CodeQL libraries for Java and Kotlin. | Every query begins with one or more ``import`` statements. |
7474
+--------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+
75-
| ``from MethodCall mc`` | Defines the variables for the query. | We use: |
75+
| ``from MethodCall mc`` | Defines the variables for the query. | We use: |
7676
| | Declarations are of the form: | |
77-
| | ``<type> <variable name>`` | - a ``MethodCall`` variable for call expressions |
77+
| | ``<type> <variable name>`` | - a ``MethodCall`` variable for call expressions |
7878
+--------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------+
7979
| ``where mc.getMethod().hasName("equals") and mc.getArgument(0).(StringLiteral).getValue() = ""`` | Defines a condition on the variables. | ``mc.getMethod().hasName("equals")`` restricts ``mc`` to only calls to methods call ``equals``. |
8080
| | | |

0 commit comments

Comments
 (0)