Add intention to replace Math.max/min with coerceAtLeast/coerceAtMost #KT-13945 Fixed

This commit is contained in:
shiraji
2016-09-23 13:33:58 +09:00
committed by Mikhail Glukhikh
parent 4522d2c7da
commit 3aedf0d79f
33 changed files with 339 additions and 6 deletions
@@ -0,0 +1 @@
<spot>1.coerceAtMost(2)</spot>
@@ -0,0 +1 @@
<spot>Math.min(1, 2)</spot>
@@ -0,0 +1,5 @@
<html>
<body>
This intention replaces 'Math.min' calls with 'coerceAtMost'
</body>
</html>