Add intention to replace Math.max/min with coerceAtLeast/coerceAtMost #KT-13945 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
4522d2c7da
commit
3aedf0d79f
+1
@@ -0,0 +1 @@
|
||||
<spot>1.coerceAtMost(2)</spot>
|
||||
+1
@@ -0,0 +1 @@
|
||||
<spot>Math.min(1, 2)</spot>
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention replaces 'Math.min' calls with 'coerceAtMost'
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user