Fix WebIntegrationTest JavaDoc

The example `@Value("server.local.port")` should read
`@Value("${local.server.port}")`.

Fixes gh-2628
This commit is contained in:
Phillip Webb 2015-03-16 23:04:24 -07:00
parent 16495d223a
commit cac6ad21c1
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ public @interface WebIntegrationTest {
/**
* Convenience attribute that can be used to set a {@code server.port=0}
* {@link Environment} property which usually triggers listening on a random port.
* Often used in conjunction with a {@code @Value("server.local.port")} injected field
* on the test.
* Often used in conjunction with a <code>&#064;Value("${local.server.port}")</code>
* injected field on the test.
*/
boolean randomPort() default false;