From 75e4b6c740a33c19baa29ee826870800dd48c6cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Vajk?= Date: Wed, 12 Jan 2022 09:47:11 +0100 Subject: [PATCH] Fix typo in PrintAst.qll --- java/ql/lib/semmle/code/java/PrintAst.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/ql/lib/semmle/code/java/PrintAst.qll b/java/ql/lib/semmle/code/java/PrintAst.qll index 0e4eff46a24..46f2e851438 100644 --- a/java/ql/lib/semmle/code/java/PrintAst.qll +++ b/java/ql/lib/semmle/code/java/PrintAst.qll @@ -69,7 +69,7 @@ private predicate isNotNeeded(Element el) { | el.getLocation().hasLocationInfo(_, sline, eline, scol, ecol) and c.getLocation().hasLocationInfo(_, sline, eline, scol, ecol) and - not c.getFile().isKotlinSourceFile() // Koltin constructor bodies have the same location as the constructor + not c.getFile().isKotlinSourceFile() // Kotlin constructor bodies have the same location as the constructor // simply comparing their getLocation() doesn't work as they have distinct but equivalent locations ) or