From 3acec947733e0fb6a2e460db412b27f78bd080ac Mon Sep 17 00:00:00 2001 From: intrigus Date: Tue, 20 Apr 2021 23:04:06 +0200 Subject: [PATCH] Java: Fix typos. --- .../Security/CWE/CWE-347/MissingJWTSignatureCheck.ql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/ql/src/experimental/Security/CWE/CWE-347/MissingJWTSignatureCheck.ql b/java/ql/src/experimental/Security/CWE/CWE-347/MissingJWTSignatureCheck.ql index e0cd34ba53d..8e1cb8fc432 100644 --- a/java/ql/src/experimental/Security/CWE/CWE-347/MissingJWTSignatureCheck.ql +++ b/java/ql/src/experimental/Security/CWE/CWE-347/MissingJWTSignatureCheck.ql @@ -70,8 +70,8 @@ private class JwtHandlerAdapterOnJwtMethods extends Method { /** * Holds if `parseHandlerExpr` is an insecure `JwtHandler`. - * That is, it overrides a method from `JwtHandlerOnJwtMethods` and the overriden method is not a method from `JwtHandlerAdapterOnJwtMethods`. - * A overriden method which is a method from `JwtHandlerAdapterOnJwtMethods` is safe, because these always throw an exception. + * That is, it overrides a method from `JwtHandlerOnJwtMethods` and the overridden method is not a method from `JwtHandlerAdapterOnJwtMethods`. + * A overridden method which is a method from `JwtHandlerAdapterOnJwtMethods` is safe, because these always throw an exception. */ private predicate isInsecureParseHandler(Expr parseHandlerExpr) { exists(RefType t | @@ -155,7 +155,7 @@ private class SigningToExprDataFlow extends DataFlow::Configuration { } } -/** An access to the `setSigningKey` or `setSigningKeyResolver` method (or an overriden method) defined in `JwtParser` and `JwtParserBuilder`. */ +/** An access to the `setSigningKey` or `setSigningKeyResolver` method (or an overridden method) defined in `JwtParser` and `JwtParserBuilder`. */ private class SigningKeyMethodAccess extends MethodAccess { SigningKeyMethodAccess() { exists(Method m |