Merge ReplaceMathMaxWithCoerceAtLeastIntention & ReplaceMathMinWithCoerceAtMostIntention with ReplaceJavaStaticMethodWithKotlinAnalogInspection
Relates to #KT-31502
This commit is contained in:
-1
@@ -1 +0,0 @@
|
||||
<spot>1.coerceAtLeast(2)</spot>
|
||||
-1
@@ -1 +0,0 @@
|
||||
<spot>Math.max(1, 2)</spot>
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention replaces <b>Math.max</b> calls with <b>coerceAtLeast</b> calls.
|
||||
</body>
|
||||
</html>
|
||||
-1
@@ -1 +0,0 @@
|
||||
<spot>1.coerceAtMost(2)</spot>
|
||||
-1
@@ -1 +0,0 @@
|
||||
<spot>Math.min(1, 2)</spot>
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention replaces <b>Math.min</b> calls with <b>coerceAtMost</b> calls.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user