Skip to content

Commit 128fac4

Browse files
committed
Java: fix typos in comments
1 parent a50601c commit 128fac4

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

java/ql/lib/semmle/code/java/dataflow/FlowSummary.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Provides classes and predicates for definining flow summaries.
2+
* Provides classes and predicates for defining flow summaries.
33
*/
44

55
import java

java/ql/lib/semmle/code/java/dataflow/internal/DataFlowImplCommon.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ cached
305305
private module Cached {
306306
/**
307307
* If needed, call this predicate from `DataFlowImplSpecific.qll` in order to
308-
* force a stage-dependency on the `DataFlowImplCommon.qll` stage and therby
308+
* force a stage-dependency on the `DataFlowImplCommon.qll` stage and thereby
309309
* collapsing the two stages.
310310
*/
311311
cached

java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImplSpecific.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Provides Java specific classes and predicates for definining flow summaries.
2+
* Provides Java specific classes and predicates for defining flow summaries.
33
*/
44

55
private import java

java/ql/lib/semmle/code/java/security/JexlInjectionQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** Provides classes to reason about Expression Langauge (JEXL) injection vulnerabilities. */
1+
/** Provides classes to reason about Expression Language (JEXL) injection vulnerabilities. */
22

33
import java
44
import semmle.code.java.dataflow.TaintTracking

java/ql/lib/semmle/code/java/security/JexlInjectionSinkModels.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** Provides sink models relating to Expression Langauge (JEXL) injection vulnerabilities. */
1+
/** Provides sink models relating to Expression Language (JEXL) injection vulnerabilities. */
22

33
private import semmle.code.java.dataflow.ExternalFlow
44

java/ql/lib/semmle/code/java/security/XmlParsers.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ class SafeTransformerFactory extends VarAccess {
10491049
}
10501050
}
10511051

1052-
/** A `Transformer` created from a safely configured `TranformerFactory`. */
1052+
/** A `Transformer` created from a safely configured `TransformerFactory`. */
10531053
class SafeTransformer extends MethodAccess {
10541054
SafeTransformer() {
10551055
exists(SafeTransformerFactoryFlowConfig stf, Method m |

java/ql/src/experimental/Security/CWE/CWE-939/IncorrectURLVerification.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class UriGetHostMethod extends Method {
4343
}
4444

4545
/**
46-
* The method access with incorrect string comparision
46+
* The method access with incorrect string comparison
4747
*/
4848
class HostVerificationMethodAccess extends MethodAccess {
4949
HostVerificationMethodAccess() {

java/ql/test/TestUtilities/InlineExpectationsTest.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ private string expectationCommentPattern() { result = "\\s*\\$((?:[^/]|/[^/])*)(
181181
/**
182182
* The possible columns in an expectation comment. The `TDefaultColumn` branch represents the first
183183
* column in a comment. This column is not precedeeded by a name. `TNamedColumn(name)` represents a
184-
* column containing expected results preceeded by the string `name:`.
184+
* column containing expected results preceded by the string `name:`.
185185
*/
186186
private newtype TColumn =
187187
TDefaultColumn() or

0 commit comments

Comments
 (0)