Fix tests broken by enhanced RedundantSamConstructor inspection
- The inspection now works in more cases, so the test data had to be updated accordingly
This commit is contained in:
committed by
Roman Golyshev
parent
22a5bc4144
commit
4042214bb2
@@ -8,6 +8,6 @@ internal class Test {
|
||||
}
|
||||
|
||||
fun nya(): Double {
|
||||
return foo(1, FunctionalI { x: Int -> this.toDouble(x) })
|
||||
return foo(1, { x: Int -> this.toDouble(x) })
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -9,13 +9,13 @@ class Foo {
|
||||
private val activity: Activity? = null
|
||||
fun foo() {
|
||||
synchronized(this) {
|
||||
activity!!.runOnUiThread(Runnable { })
|
||||
activity!!.runOnUiThread { }
|
||||
}
|
||||
}
|
||||
|
||||
fun bar() {
|
||||
synchronized(this) {
|
||||
activity!!.runOnUiThread(Runnable { })
|
||||
activity!!.runOnUiThread { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user