Merge ReplaceMathMaxWithCoerceAtLeastIntention & ReplaceMathMinWithCoerceAtMostIntention with ReplaceJavaStaticMethodWithKotlinAnalogInspection

Relates to #KT-31502
This commit is contained in:
Dmitry Gridin
2019-05-27 18:01:53 +07:00
parent 26478b1374
commit d3339cae46
51 changed files with 36 additions and 412 deletions
@@ -1 +0,0 @@
<spot>1.coerceAtLeast(2)</spot>
@@ -1 +0,0 @@
<spot>Math.max(1, 2)</spot>
@@ -1,5 +0,0 @@
<html>
<body>
This intention replaces <b>Math.max</b> calls with <b>coerceAtLeast</b> calls.
</body>
</html>
@@ -1 +0,0 @@
<spot>1.coerceAtMost(2)</spot>
@@ -1 +0,0 @@
<spot>Math.min(1, 2)</spot>
@@ -1,5 +0,0 @@
<html>
<body>
This intention replaces <b>Math.min</b> calls with <b>coerceAtMost</b> calls.
</body>
</html>