Skip to content

Commit 3acec94

Browse files
committed
Java: Fix typos.
1 parent 149c449 commit 3acec94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/src/experimental/Security/CWE/CWE-347/MissingJWTSignatureCheck.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ private class JwtHandlerAdapterOnJwtMethods extends Method {
7070

7171
/**
7272
* Holds if `parseHandlerExpr` is an insecure `JwtHandler`.
73-
* That is, it overrides a method from `JwtHandlerOnJwtMethods` and the overriden method is not a method from `JwtHandlerAdapterOnJwtMethods`.
74-
* A overriden method which is a method from `JwtHandlerAdapterOnJwtMethods` is safe, because these always throw an exception.
73+
* That is, it overrides a method from `JwtHandlerOnJwtMethods` and the overridden method is not a method from `JwtHandlerAdapterOnJwtMethods`.
74+
* A overridden method which is a method from `JwtHandlerAdapterOnJwtMethods` is safe, because these always throw an exception.
7575
*/
7676
private predicate isInsecureParseHandler(Expr parseHandlerExpr) {
7777
exists(RefType t |
@@ -155,7 +155,7 @@ private class SigningToExprDataFlow extends DataFlow::Configuration {
155155
}
156156
}
157157

158-
/** An access to the `setSigningKey` or `setSigningKeyResolver` method (or an overriden method) defined in `JwtParser` and `JwtParserBuilder`. */
158+
/** An access to the `setSigningKey` or `setSigningKeyResolver` method (or an overridden method) defined in `JwtParser` and `JwtParserBuilder`. */
159159
private class SigningKeyMethodAccess extends MethodAccess {
160160
SigningKeyMethodAccess() {
161161
exists(Method m |

0 commit comments

Comments
 (0)