StdLib cleanup, deprecated symbol usage: List and Map members

This commit is contained in:
Ilya Gorbunov
2015-11-14 06:21:17 +03:00
parent 838109c302
commit dadcdb5771
15 changed files with 51 additions and 51 deletions
+2 -2
View File
@@ -329,7 +329,7 @@ class FilesTest {
fun afterVisitDirectory(dir: File) {
assertEquals(stack.last(), dir)
stack.remove(stack.lastIndex)
stack.removeAt(stack.lastIndex)
}
fun visitFile(file: File) {
@@ -339,7 +339,7 @@ class FilesTest {
fun visitDirectoryFailed(dir: File, e: IOException) {
assertEquals(stack.last(), dir)
stack.remove(stack.lastIndex)
stack.removeAt(stack.lastIndex)
failed.add(dir.name)
}
basedir.walkTopDown().enter(::beforeVisitDirectory).leave(::afterVisitDirectory).