We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c70f3d3 commit 0d9e280Copy full SHA for 0d9e280
3 files changed
java/ql/test/kotlin/query-tests/AutoBoxing/AutoBoxing.expected
@@ -0,0 +1 @@
1
+| Test.kt:3:17:3:17 | x | This expression is implicitly unboxed. |
java/ql/test/kotlin/query-tests/AutoBoxing/AutoBoxing.qlref
+Violations of Best Practice/legacy/AutoBoxing.ql
java/ql/test/kotlin/query-tests/AutoBoxing/Test.kt
@@ -0,0 +1,5 @@
+fun foo(x: Int?) {
2
+ if (x != null) {
3
+ println(x)
4
+ }
5
+}
0 commit comments