StdLib cleanup, deprecated symbol usage: List and Map members
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user