Skip to content

Commit d1e5a3a

Browse files
committed
Fix truncated Value#value javadoc
Closes gh-22331
1 parent 9895e44 commit d1e5a3a

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -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-
* "#{systemProperties.myProp}" style expressions.
33+
* {@code #{systemProperties.myProp}} 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: e.g. "#{systemProperties.myProp}".
58+
* The actual value expression: for example {@code #{systemProperties.myProp}}.
5959
*/
6060
String value();
6161

0 commit comments

Comments
 (0)