mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Merge pull request #11290 from tamasvajk/kotlin-autoboxing
Kotlin: Exclude .kt files from autoboxing query
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Violations of Best Practice/legacy/AutoBoxing.ql
|
||||
5
java/ql/test/kotlin/query-tests/AutoBoxing/Test.kt
Normal file
5
java/ql/test/kotlin/query-tests/AutoBoxing/Test.kt
Normal file
@@ -0,0 +1,5 @@
|
||||
fun foo(x: Int?) {
|
||||
if (x != null) {
|
||||
println(x)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user