mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Removes intention version of the same thing Includes some optimization of 'Deprecated' annotation detection GitOrigin-RevId: bf003b3f7685ee6520be6adce3713fc9278a1b63
10 lines
178 B
Plaintext
10 lines
178 B
Plaintext
@Deprecated("", ReplaceWith("if (p > 0) bar1(p) else bar2(p)"))
|
|
fun foo(p: Int) {
|
|
if (p > 0)
|
|
bar1(p)
|
|
else
|
|
bar2(p)
|
|
}
|
|
|
|
fun bar1(p: Int){}
|
|
fun bar2(p: Int){} |