Advance max/min(By/With) deprecation level to ERROR

This commit is contained in:
Abduqodiri Qurbonzoda
2021-03-25 22:05:28 +03:00
parent d70edeb38b
commit b0f1ddc91e
93 changed files with 476 additions and 572 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
// WITH_RUNTIME
// INTENTION_TEXT: "Replace with 'map{}.max()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.max()'"
// INTENTION_TEXT: "Replace with 'map{}.maxOrNull()'"
// INTENTION_TEXT_2: "Replace with 'asSequence().map{}.maxOrNull()'"
fun getMaxLineWidth(count: Int): Double {
var max = 0.0
<caret>for (i in 0..count-1) {