Skip to content

Commit 2c274cf

Browse files
diguagesbrannen
authored andcommitted
Use Groovy syntax highlighting in reference manual
Closes gh-25554
1 parent e0d79f5 commit 2c274cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/docs/asciidoc/languages/dynamic-languages.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The following example defines a class that has a dependency on the `Messenger` i
6767

6868
The following example implements the `Messenger` interface in Groovy:
6969

70-
[source,java,indent=0]
70+
[source,groovy,indent=0]
7171
[subs="verbatim,quotes"]
7272
----
7373
// from the file 'Messenger.groovy'
@@ -282,7 +282,7 @@ surrounded by quotation marks. The following listing shows the changes that you
282282
(the developer) should make to the `Messenger.groovy` source file when the
283283
execution of the program is paused:
284284

285-
[source,java,indent=0]
285+
[source,groovy,indent=0]
286286
[subs="verbatim,quotes"]
287287
----
288288
package org.springframework.scripting
@@ -371,7 +371,7 @@ constructors and properties 100% clear, the following mixture of code and config
371371
does not work:
372372

373373
.An approach that cannot work
374-
[source,java,indent=0]
374+
[source,groovy,indent=0]
375375
[subs="verbatim,quotes"]
376376
----
377377
// from the file 'Messenger.groovy'
@@ -697,7 +697,7 @@ beans, you have to enable the "`refreshable beans`" functionality. See
697697
The following example shows an `org.springframework.web.servlet.mvc.Controller` implemented
698698
by using the Groovy dynamic language:
699699

700-
[source,java,indent=0]
700+
[source,groovy,indent=0]
701701
[subs="verbatim,quotes"]
702702
----
703703
// from the file '/WEB-INF/groovy/FortuneController.groovy'

0 commit comments

Comments
 (0)