Browse Source

Merge pull request #3473 from izeye/typo-20150713

* pr/3473:
  Fix typo
pull/3473/merge
Stephane Nicoll 11 years ago
parent
commit
29ca159c17
  1. 6
      spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/ApplicationPidFileWriter.java

6
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/system/ApplicationPidFileWriter.java

@ -200,12 +200,12 @@ public class ApplicationPidFileWriter implements @@ -200,12 +200,12 @@ public class ApplicationPidFileWriter implements
*/
private static class SpringProperty implements Property {
private final String prexfix;
private final String prefix;
private final String key;
public SpringProperty(String prefix, String key) {
this.prexfix = prefix;
this.prefix = prefix;
this.key = key;
}
@ -215,7 +215,7 @@ public class ApplicationPidFileWriter implements @@ -215,7 +215,7 @@ public class ApplicationPidFileWriter implements
if (environment == null) {
return null;
}
return new RelaxedPropertyResolver(environment, this.prexfix)
return new RelaxedPropertyResolver(environment, this.prefix)
.getProperty(this.key);
}

Loading…
Cancel
Save