Skip to content

Commit 80ad60e

Browse files
committed
Fix Javadoc for @value
1 parent 85f0502 commit 80ad60e

File tree

1 file changed

+2
-2
lines changed
  • spring-beans/src/main/java/org/springframework/beans/factory/annotation

1 file changed

+2
-2
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/annotation/Value.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* for dynamic resolution of handler method parameters, e.g. in Spring MVC.
3131
*
3232
* <p>A common use case is to assign default field values using
33-
* {@code #{systemProperties.myProp}} style expressions.
33+
* <code>#{systemProperties.myProp}</code> style expressions.
3434
*
3535
* <p>Note that actual processing of the {@code @Value} annotation is performed
3636
* by a {@link org.springframework.beans.factory.config.BeanPostProcessor
@@ -55,7 +55,7 @@
5555
public @interface Value {
5656

5757
/**
58-
* The actual value expression: for example {@code #{systemProperties.myProp}}.
58+
* The actual value expression &mdash; for example, <code>#{systemProperties.myProp}</code>.
5959
*/
6060
String value();
6161

0 commit comments

Comments
 (0)