@@ -67,7 +67,7 @@ The following example defines a class that has a dependency on the `Messenger` i
67
67
68
68
The following example implements the `Messenger` interface in Groovy:
69
69
70
- [source,java ,indent=0]
70
+ [source,groovy ,indent=0]
71
71
[subs="verbatim,quotes"]
72
72
----
73
73
// from the file 'Messenger.groovy'
@@ -282,7 +282,7 @@ surrounded by quotation marks. The following listing shows the changes that you
282
282
(the developer) should make to the `Messenger.groovy` source file when the
283
283
execution of the program is paused:
284
284
285
- [source,java ,indent=0]
285
+ [source,groovy ,indent=0]
286
286
[subs="verbatim,quotes"]
287
287
----
288
288
package org.springframework.scripting
@@ -371,7 +371,7 @@ constructors and properties 100% clear, the following mixture of code and config
371
371
does not work:
372
372
373
373
.An approach that cannot work
374
- [source,java ,indent=0]
374
+ [source,groovy ,indent=0]
375
375
[subs="verbatim,quotes"]
376
376
----
377
377
// from the file 'Messenger.groovy'
@@ -697,7 +697,7 @@ beans, you have to enable the "`refreshable beans`" functionality. See
697
697
The following example shows an `org.springframework.web.servlet.mvc.Controller` implemented
698
698
by using the Groovy dynamic language:
699
699
700
- [source,java ,indent=0]
700
+ [source,groovy ,indent=0]
701
701
[subs="verbatim,quotes"]
702
702
----
703
703
// from the file '/WEB-INF/groovy/FortuneController.groovy'
0 commit comments