Replace deprecated reverse method usages.

This commit is contained in:
Ilya Gorbunov
2015-08-26 19:59:25 +03:00
parent ca798d8d71
commit 84d3d42e05
4 changed files with 10 additions and 10 deletions
@@ -105,7 +105,7 @@ fun ordering(): List<GenericFunction> {
}
body(ArraysOfPrimitives) {
"""
return copyOf().apply { sort() }.reverse()
return copyOf().apply { sort() }.reversed()
"""
}