From 4c7cc58a19d1b1cbf76b49ac6f91e9e757c8d509 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 2 Dec 2014 17:40:41 -0800 Subject: [PATCH] Correct ApplicationPidFileWriter property javadoc Fixes gh-2041 --- .../boot/actuate/system/ApplicationPidFileWriter.java | 3 +-- .../boot/env/YamlPropertySourceLoaderTests.java | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/ApplicationPidFileWriter.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/ApplicationPidFileWriter.java index 7aedac8983..e2c4ffc941 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/ApplicationPidFileWriter.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/ApplicationPidFileWriter.java @@ -36,8 +36,7 @@ import org.springframework.util.Assert; * 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 * runtime with a System property or environment variable named "PIDFILE" (or "pidfile") - * or using a {@code spring.application.pidfile} property in the Spring - * {@link Environment}. + * or using a {@code spring.pidfile} property in the Spring {@link Environment}. * * @author Jakub Kubrynski * @author Dave Syer diff --git a/spring-boot/src/test/java/org/springframework/boot/env/YamlPropertySourceLoaderTests.java b/spring-boot/src/test/java/org/springframework/boot/env/YamlPropertySourceLoaderTests.java index 45e8cfe168..323a57e585 100644 --- a/spring-boot/src/test/java/org/springframework/boot/env/YamlPropertySourceLoaderTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/env/YamlPropertySourceLoaderTests.java @@ -61,4 +61,5 @@ public class YamlPropertySourceLoaderTests { assertNotNull(source); assertThat(source.getPropertyNames(), equalTo(expected.toArray(new String[] {}))); } + }