Merge ReplaceMathMaxWithCoerceAtLeastIntention & ReplaceMathMinWithCoerceAtMostIntention with ReplaceJavaStaticMethodWithKotlinAnalogInspection
Relates to #KT-31502
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
// FIX: Replace with `coerceAtMost` function
|
||||
// WITH_RUNTIME
|
||||
fun test(x: Double, y: Double) {
|
||||
<caret>Math.min(x, y)
|
||||
}
|
||||
Reference in New Issue
Block a user