Removed invalid quoting of message arguments from MessageSource examples

Issue: SPR-14003
This commit is contained in:
Juergen Hoeller 2016-03-11 12:57:41 +01:00
parent 0597ff109e
commit 100f3c5eeb
1 changed files with 3 additions and 3 deletions

View File

@ -7778,7 +7778,7 @@ are...
[subs="verbatim,quotes"] [subs="verbatim,quotes"]
---- ----
# in exceptions.properties # in exceptions.properties
argument.required=The '{0}' argument is required. argument.required=The {0} argument is required.
---- ----
A program to execute the `MessageSource` functionality is shown in the next example. A program to execute the `MessageSource` functionality is shown in the next example.
@ -7859,7 +7859,7 @@ The resulting output from the invocation of the `execute()` method will be...
The userDao argument is required. The userDao argument is required.
---- ----
With regard to internationalization (i18n), Spring's various `MessageResource` With regard to internationalization (i18n), Spring's various `MessageSource`
implementations follow the same locale resolution and fallback rules as the standard JDK implementations follow the same locale resolution and fallback rules as the standard JDK
`ResourceBundle`. In short, and continuing with the example `messageSource` defined `ResourceBundle`. In short, and continuing with the example `messageSource` defined
previously, if you want to resolve messages against the British (`en-GB`) locale, you previously, if you want to resolve messages against the British (`en-GB`) locale, you
@ -7874,7 +7874,7 @@ resolved is specified manually.
[subs="verbatim,quotes"] [subs="verbatim,quotes"]
---- ----
# in exceptions_en_GB.properties # in exceptions_en_GB.properties
argument.required=Ebagum lad, the '{0}' argument is required, I say, required. argument.required=Ebagum lad, the {0} argument is required, I say, required.
---- ----
[source,java,indent=0] [source,java,indent=0]