From eaa04b72f104bc923630e9f121764f375bd5b35d Mon Sep 17 00:00:00 2001 From: Tamas Vajk Date: Mon, 24 Oct 2022 16:28:08 +0200 Subject: [PATCH] Apply code review findings --- .../ql/lib/semmle/code/java/frameworks/kotlin/Serialization.qll | 2 +- .../src/Likely Bugs/Arithmetic/ConstantExpAppearsNonConstant.ql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/ql/lib/semmle/code/java/frameworks/kotlin/Serialization.qll b/java/ql/lib/semmle/code/java/frameworks/kotlin/Serialization.qll index c10c642d27a..c0269266a59 100644 --- a/java/ql/lib/semmle/code/java/frameworks/kotlin/Serialization.qll +++ b/java/ql/lib/semmle/code/java/frameworks/kotlin/Serialization.qll @@ -1,5 +1,5 @@ /** - * Provides classes and predicates for working with thi `kotlinx.serialization` plugin. + * Provides classes and predicates for working with the `kotlinx.serialization` plugin. */ import java diff --git a/java/ql/src/Likely Bugs/Arithmetic/ConstantExpAppearsNonConstant.ql b/java/ql/src/Likely Bugs/Arithmetic/ConstantExpAppearsNonConstant.ql index 56870a975f7..e54c470de43 100644 --- a/java/ql/src/Likely Bugs/Arithmetic/ConstantExpAppearsNonConstant.ql +++ b/java/ql/src/Likely Bugs/Arithmetic/ConstantExpAppearsNonConstant.ql @@ -10,7 +10,7 @@ */ import java -private import semmle.code.java.frameworks.kotlin.Serialization +import semmle.code.java.frameworks.kotlin.Serialization int eval(Expr e) { result = e.(CompileTimeConstantExpr).getIntValue() }