You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2019/11/30 14:51:21 UTC
[groovy] branch GROOVY_3_0_X updated: Fix grammatical error
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
new 34edc7d Fix grammatical error
34edc7d is described below
commit 34edc7dbc8566e004f717c21b71941842597538c
Author: anujbhatia <an...@gmail.com>
AuthorDate: Sat Nov 30 18:25:22 2019 +0530
Fix grammatical error
(cherry picked from commit b369e86300bb15e48f601b413a66005112247958)
---
src/spec/doc/working-with-io.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/spec/doc/working-with-io.adoc b/src/spec/doc/working-with-io.adoc
index 005fe70..43a8c45 100644
--- a/src/spec/doc/working-with-io.adoc
+++ b/src/spec/doc/working-with-io.adoc
@@ -55,7 +55,7 @@ if you need to know the line number, you can use this variant:
include::{projectdir}/src/spec/test/gdk/WorkingWithIOSpecTest.groovy[tags=print_file_lines2,indent=0]
----
-If for whatever reason the an exception is thrown in the `eachLine` body, the method makes sure that the resource
+If for whatever reason an exception is thrown in the `eachLine` body, the method makes sure that the resource
is properly closed. This is true for all I/O resource methods that Groovy adds.
For example in some cases you will prefer to use a `Reader`, but still benefit from the automatic resource management