Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen authored and lxbzmy committed Mar 26, 2022
1 parent 05f6d2e commit 7c12b0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2012 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,9 +23,9 @@
/**
* Editor for {@code java.util.Locale}, to directly populate a Locale property.
*
* <p>Expects the same syntax as Locale's {@code toString}, i.e. language +
* <p>Expects the same syntax as Locale's {@code toString()}, i.e. language +
* optionally country + optionally variant, separated by "_" (e.g. "en", "en_US").
* Also accepts spaces as separators, as alternative to underscores.
* Also accepts spaces as separators, as an alternative to underscores.
*
* @author Juergen Hoeller
* @since 26.05.2003
Expand Down
2 changes: 1 addition & 1 deletion src/docs/asciidoc/core/core-validation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ the various `PropertyEditor` implementations that Spring provides:
| `LocaleEditor`
| Can resolve strings to `Locale` objects and vice-versa (the string format is
`[language]\_[country]_[variant]`, same as the `toString()` method of
`Locale`). Also accepts spaces as separators, as alternative to underscores.
`Locale`). Also accepts spaces as separators, as an alternative to underscores.
By default, registered by `BeanWrapperImpl`.

| `PatternEditor`
Expand Down

0 comments on commit 7c12b0a

Please sign in to comment.