New J2K: do not merge methods if there are vararg parameters present
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
public final class Test {
|
||||
public static void checkState(boolean condition, String message, Object... args) {
|
||||
}
|
||||
|
||||
public static void checkState(boolean condition) {
|
||||
checkState(condition, "condition not met");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
object Test {
|
||||
fun checkState(condition: Boolean, message: String?, vararg args: Any?) {}
|
||||
fun checkState(condition: Boolean) {
|
||||
checkState(condition, "condition not met")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user