Correct ApplicationPidFileWriter property javadoc
Fixes gh-2041
This commit is contained in:
parent
39ee583977
commit
4c7cc58a19
|
@ -36,8 +36,7 @@ import org.springframework.util.Assert;
|
||||||
* An {@link ApplicationListener} that saves application PID into file. This application
|
* An {@link ApplicationListener} that saves application PID into file. This application
|
||||||
* listener will be triggered exactly once per JVM, and the file name can be overridden at
|
* listener will be triggered exactly once per JVM, and the file name can be overridden at
|
||||||
* runtime with a System property or environment variable named "PIDFILE" (or "pidfile")
|
* runtime with a System property or environment variable named "PIDFILE" (or "pidfile")
|
||||||
* or using a {@code spring.application.pidfile} property in the Spring
|
* or using a {@code spring.pidfile} property in the Spring {@link Environment}.
|
||||||
* {@link Environment}.
|
|
||||||
*
|
*
|
||||||
* @author Jakub Kubrynski
|
* @author Jakub Kubrynski
|
||||||
* @author Dave Syer
|
* @author Dave Syer
|
||||||
|
|
|
@ -61,4 +61,5 @@ public class YamlPropertySourceLoaderTests {
|
||||||
assertNotNull(source);
|
assertNotNull(source);
|
||||||
assertThat(source.getPropertyNames(), equalTo(expected.toArray(new String[] {})));
|
assertThat(source.getPropertyNames(), equalTo(expected.toArray(new String[] {})));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue