You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2022/07/04 08:51:02 UTC
[groovy] branch master updated: minor typos
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new ffa411ab75 minor typos
ffa411ab75 is described below
commit ffa411ab75a877a944cb3055474fed370d9d5e96
Author: Paul King <pa...@asert.com.au>
AuthorDate: Mon Jul 4 18:50:23 2022 +1000
minor typos
---
subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
index 6e7e691209..39412ab5ac 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -254,7 +254,7 @@ and add it to the Groovy Shell environment.
----
groovy:000> :grab 'com.google.guava:guava:19.0'
groovy:000> import com.google.common.collect.BiMap
-===\> com.google.common.collect.BiMap
+===> com.google.common.collect.BiMap
----
This command can be given at any time to add new dependencies.
@@ -265,7 +265,7 @@ This command can be given at any time to add new dependencies.
Display the contents of the current buffer.
This only displays the buffer of an incomplete expression. Once the
-expression is complete, the buffer is rest. The prompt will update to
+expression is complete, the buffer is reset. The prompt will update to
show the size of the current buffer as well.
[[GroovyShell-Example]]
@@ -430,9 +430,9 @@ Allows the use of typed variables (i.e. `def` or other type information):
----
groovy:000> def x = 3
-===\> 3
+===> 3
groovy:000> x
-===\> 3
+===> 3
----
It's especially useful for copy&pasting code from tutorials etc. into the running session.