Browse Source

Merge pull request #1027 from Youmoo/patch-2

* pr/1027:
  Fix typo
pull/1004/merge
Stephane Nicoll 9 years ago
parent
commit
ad7285df0b
  1. 2
      spring-context/src/main/java/org/springframework/format/annotation/DateTimeFormat.java

2
spring-context/src/main/java/org/springframework/format/annotation/DateTimeFormat.java

@ -41,7 +41,7 @@ import java.lang.annotation.Target; @@ -41,7 +41,7 @@ import java.lang.annotation.Target;
* <p>Each attribute is mutually exclusive, so only set one attribute per annotation instance
* (the one most convenient one for your formatting needs).
* When the pattern attribute is specified, it takes precedence over both the style and ISO attribute.
* When the {@link #iso} attribute is specified, if takes precedence over the style attribute.
* When the {@link #iso} attribute is specified, it takes precedence over the style attribute.
* When no annotation attributes are specified, the default format applied is style-based
* with a style code of 'SS' (short date, short time).
*

Loading…
Cancel
Save