StdLib cleanup, deprecated symbol usage: Throwable.getMessage

This commit is contained in:
Ilya Gorbunov
2015-11-14 07:20:44 +03:00
parent dadcdb5771
commit 88e48380af
4 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -733,7 +733,7 @@ class FilesTest {
srcFile.copyTo(dstFile)
assert(false)
} catch (e: FileAlreadyExistsException) {
println(e.getMessage())
println(e.message)
}
var len = srcFile.copyTo(dstFile, overwrite = true)