Fix WebIntegrationTest JavaDoc

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

Fixes gh-2628
pull/2707/merge
Phillip Webb 10 years ago
parent 16495d223a
commit cac6ad21c1

@ -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;

Loading…
Cancel
Save