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 2020/07/08 10:06:46 UTC
[groovy] branch master updated: correct heading level
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 f15d442 correct heading level
f15d442 is described below
commit f15d4421d133261e90dc8ebeea9c3399369b55fd
Author: Paul King <pa...@asert.com.au>
AuthorDate: Wed Jul 8 20:06:37 2020 +1000
correct heading level
---
src/spec/doc/core-syntax.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/spec/doc/core-syntax.adoc b/src/spec/doc/core-syntax.adoc
index c1a67c8..6ee0790 100644
--- a/src/spec/doc/core-syntax.adoc
+++ b/src/spec/doc/core-syntax.adoc
@@ -1102,7 +1102,7 @@ include::{projectdir}/src/spec/test/SyntaxTest.groovy[tags=array_3,indent=0]
Java's array initializer notation is not supported by Groovy,
as the curly braces can be misinterpreted with the notation of Groovy closures.
-==== Java-style array initialization
+=== Java-style array initialization
Groovy has always supported literal list/array definitions using square brackets
and has avoided Java-style curly braces so as not to conflict with closure definitions.