From 80ad60e91ba2492889cd689f576b4e5902c95048 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 9 Apr 2019 11:30:59 +0200 Subject: [PATCH] Fix Javadoc for @Value --- .../org/springframework/beans/factory/annotation/Value.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/annotation/Value.java b/spring-beans/src/main/java/org/springframework/beans/factory/annotation/Value.java index 924ae6fd993..36b1139e4cb 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/annotation/Value.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/annotation/Value.java @@ -30,7 +30,7 @@ import java.lang.annotation.Target; * for dynamic resolution of handler method parameters, e.g. in Spring MVC. * *

A common use case is to assign default field values using - * {@code #{systemProperties.myProp}} style expressions. + * #{systemProperties.myProp} style expressions. * *

Note that actual processing of the {@code @Value} annotation is performed * by a {@link org.springframework.beans.factory.config.BeanPostProcessor @@ -55,7 +55,7 @@ import java.lang.annotation.Target; public @interface Value { /** - * The actual value expression: for example {@code #{systemProperties.myProp}}. + * The actual value expression — for example, #{systemProperties.myProp}. */ String value();