Java: fix typos in comments

This commit is contained in:
Nick Rolfe
2022-05-12 14:28:49 +01:00
parent a50601c367
commit 128fac4414
8 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
/**
* Provides classes and predicates for definining flow summaries.
* Provides classes and predicates for defining flow summaries.
*/
import java

View File

@@ -305,7 +305,7 @@ cached
private module Cached {
/**
* If needed, call this predicate from `DataFlowImplSpecific.qll` in order to
* force a stage-dependency on the `DataFlowImplCommon.qll` stage and therby
* force a stage-dependency on the `DataFlowImplCommon.qll` stage and thereby
* collapsing the two stages.
*/
cached

View File

@@ -1,5 +1,5 @@
/**
* Provides Java specific classes and predicates for definining flow summaries.
* Provides Java specific classes and predicates for defining flow summaries.
*/
private import java

View File

@@ -1,4 +1,4 @@
/** Provides classes to reason about Expression Langauge (JEXL) injection vulnerabilities. */
/** Provides classes to reason about Expression Language (JEXL) injection vulnerabilities. */
import java
import semmle.code.java.dataflow.TaintTracking

View File

@@ -1,4 +1,4 @@
/** Provides sink models relating to Expression Langauge (JEXL) injection vulnerabilities. */
/** Provides sink models relating to Expression Language (JEXL) injection vulnerabilities. */
private import semmle.code.java.dataflow.ExternalFlow

View File

@@ -1049,7 +1049,7 @@ class SafeTransformerFactory extends VarAccess {
}
}
/** A `Transformer` created from a safely configured `TranformerFactory`. */
/** A `Transformer` created from a safely configured `TransformerFactory`. */
class SafeTransformer extends MethodAccess {
SafeTransformer() {
exists(SafeTransformerFactoryFlowConfig stf, Method m |

View File

@@ -43,7 +43,7 @@ class UriGetHostMethod extends Method {
}
/**
* The method access with incorrect string comparision
* The method access with incorrect string comparison
*/
class HostVerificationMethodAccess extends MethodAccess {
HostVerificationMethodAccess() {

View File

@@ -181,7 +181,7 @@ private string expectationCommentPattern() { result = "\\s*\\$((?:[^/]|/[^/])*)(
/**
* The possible columns in an expectation comment. The `TDefaultColumn` branch represents the first
* column in a comment. This column is not precedeeded by a name. `TNamedColumn(name)` represents a
* column containing expected results preceeded by the string `name:`.
* column containing expected results preceded by the string `name:`.
*/
private newtype TColumn =
TDefaultColumn() or