Fix testData/js: replace deprecated usages: times, sortBy, reverse, splitBy.
This commit is contained in:
@@ -130,7 +130,7 @@ fun <T, C : MutableCollection<T>> Array<T>.to(result: C): C {
|
||||
}
|
||||
|
||||
fun makeField(s: String): Field {
|
||||
val lines: List<String> = s.splitBy("\n")
|
||||
val lines: List<String> = s.split("\n")
|
||||
|
||||
val w = Collections.max<String>(lines.toList(), comparator<String> { o1, o2 ->
|
||||
val l1: Int = o1.length()
|
||||
|
||||
Reference in New Issue
Block a user