summaryrefslogtreecommitdiffhomepage
path: root/groovy.html.markdown
diff options
context:
space:
mode:
authorGeovanny Ribeiro <geovanny.ribeiro@gmail.com>2015-10-06 16:49:21 -0300
committerGeovanny Ribeiro <geovanny.ribeiro@gmail.com>2015-10-06 16:49:21 -0300
commit35ba352668f67de95e0dca7c2f1a284f5fa453b2 (patch)
treeb2b7709ed1d3b4f19331b384f93cb17652b85350 /groovy.html.markdown
parentd810a71b76892aef7404293d6fe4bec3b9dbb31e (diff)
Update groovy.html.markdown
Diffstat (limited to 'groovy.html.markdown')
-rw-r--r--groovy.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/groovy.html.markdown b/groovy.html.markdown
index c80fcc89..492c1ba2 100644
--- a/groovy.html.markdown
+++ b/groovy.html.markdown
@@ -99,7 +99,7 @@ technologies.sort()
// To sort without mutating original, you can do:
sortedTechnologies = technologies.sort( false )
-/*** Manipulating Lists ***/
+/*** Manipulating Lists ***/e
//Replace all elements in the list
Collections.replaceAll(technologies, 'Gradle', 'gradle')
@@ -205,7 +205,7 @@ assert x == "worked"
displayName = user.name ? user.name : 'Anonymous'
-//We can write like this:
+//We can write it:
displayName = user.name ?: 'Anonymous'
//For loop