From 149acdae7dc85c553bfee974e0dcadf01ca73997 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Thu, 1 Dec 2016 14:23:59 +0100 Subject: [PATCH] @UsesJava8 Issue: SPR-14958 --- .../Jsr310DateTimeFormatAnnotationFormatterFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-context/src/main/java/org/springframework/format/datetime/standard/Jsr310DateTimeFormatAnnotationFormatterFactory.java b/spring-context/src/main/java/org/springframework/format/datetime/standard/Jsr310DateTimeFormatAnnotationFormatterFactory.java index 56a431c7795..0a0a6d84795 100644 --- a/spring-context/src/main/java/org/springframework/format/datetime/standard/Jsr310DateTimeFormatAnnotationFormatterFactory.java +++ b/spring-context/src/main/java/org/springframework/format/datetime/standard/Jsr310DateTimeFormatAnnotationFormatterFactory.java @@ -33,6 +33,7 @@ import org.springframework.format.AnnotationFormatterFactory; import org.springframework.format.Parser; import org.springframework.format.Printer; import org.springframework.format.annotation.DateTimeFormat; +import org.springframework.lang.UsesJava8; /** * Formats fields annotated with the {@link DateTimeFormat} annotation using the @@ -42,6 +43,7 @@ import org.springframework.format.annotation.DateTimeFormat; * @since 4.0 * @see org.springframework.format.annotation.DateTimeFormat */ +@UsesJava8 public class Jsr310DateTimeFormatAnnotationFormatterFactory extends EmbeddedValueResolutionSupport implements AnnotationFormatterFactory {