From 8297fee6151fc736190ca17361044d7bb110d175 Mon Sep 17 00:00:00 2001 From: AJ Alt Date: Tue, 21 Nov 2017 12:03:47 -0800 Subject: [PATCH] Fix typo in File.copyTo KDoc --- libraries/stdlib/src/kotlin/io/files/Utils.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/stdlib/src/kotlin/io/files/Utils.kt b/libraries/stdlib/src/kotlin/io/files/Utils.kt index f9eecb51e2c..4155057a2b2 100644 --- a/libraries/stdlib/src/kotlin/io/files/Utils.kt +++ b/libraries/stdlib/src/kotlin/io/files/Utils.kt @@ -171,7 +171,7 @@ private fun File.toRelativeStringOrNull(base: File): String? { * @param bufferSize the buffer size to use when copying. * @return the [target] file. * @throws NoSuchFileException if the source file doesn't exist. - * @throws FileAlreadyExistsException if the destination file already exists and 'rewrite' argument is set to `false`. + * @throws FileAlreadyExistsException if the destination file already exists and [overwrite] argument is set to `false`. * @throws IOException if any errors occur while copying. */ public fun File.copyTo(target: File, overwrite: Boolean = false, bufferSize: Int = DEFAULT_BUFFER_SIZE): File {