Fix comment for item 2 of dir traversal

Edited comment for item 2 of dir traversal example to correspond to the cited 
code which refers to 'bin' folder rather than 'dir' one


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/d4e8475a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/d4e8475a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/d4e8475a

Branch: refs/heads/GROOVY_2_4_X
Commit: d4e8475acf53e0232b087e4a557433a3f9d879fd
Parents: 27a01fb
Author: VasylTretiakov <[email protected]>
Authored: Tue Apr 28 23:10:42 2015 +0300
Committer: pascalschumacher <[email protected]>
Committed: Tue Apr 28 22:30:57 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/working-with-io.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/d4e8475a/src/spec/doc/working-with-io.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/working-with-io.adoc 
b/src/spec/doc/working-with-io.adoc
index 2db3d77..dd6860d 100644
--- a/src/spec/doc/working-with-io.adoc
+++ b/src/spec/doc/working-with-io.adoc
@@ -155,7 +155,7 @@ indicating what to do with the traversal:
 ----
 
include::{projectdir}/src/spec/test/gdk/WorkingWithIOSpecTest.groovy[tags=traverse,indent=0]
 ----
-<1> if the current file is a directory and its name is `dir`, stop the 
traversal
+<1> if the current file is a directory and its name is `bin`, stop the 
traversal
 <2> otherwise print the file name and continue
 
 == Data and objects

Reply via email to