From 7ebd86725f0dd40b7ad8cc3415e39e58eb645200 Mon Sep 17 00:00:00 2001 From: Shaun Reich Date: Thu, 6 Apr 2017 22:21:36 -0400 Subject: [PATCH] Fix FileTreeWalk doc typo/grammar --- libraries/stdlib/src/kotlin/io/files/FileTreeWalk.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/stdlib/src/kotlin/io/files/FileTreeWalk.kt b/libraries/stdlib/src/kotlin/io/files/FileTreeWalk.kt index f5e57a803d9..a842c04f98e 100644 --- a/libraries/stdlib/src/kotlin/io/files/FileTreeWalk.kt +++ b/libraries/stdlib/src/kotlin/io/files/FileTreeWalk.kt @@ -217,7 +217,7 @@ public class FileTreeWalk private constructor( * Sets a predicate [function], that is called on any entered directory before its files are visited * and before it is visited itself. * - * If the [function] returns `false` the directory is not entered, and neither it nor its files are not visited. + * If the [function] returns `false` the directory is not entered and neither it nor its files are visited. */ public fun onEnter(function: (File) -> Boolean): FileTreeWalk { return FileTreeWalk(start, direction, onEnter = function, onLeave = onLeave, onFail = onFail, maxDepth = maxDepth)