Merge pull request #11290 from tamasvajk/kotlin-autoboxing

Kotlin: Exclude .kt files from autoboxing query
This commit is contained in:
Tamás Vajk
2022-11-16 13:56:29 +01:00
committed by GitHub
4 changed files with 17 additions and 7 deletions

View File

@@ -0,0 +1 @@
Violations of Best Practice/legacy/AutoBoxing.ql

View File

@@ -0,0 +1,5 @@
fun foo(x: Int?) {
if (x != null) {
println(x)
}
}