From d06f3b1a25144962b2fb537e198314fc9fe44895 Mon Sep 17 00:00:00 2001 From: izeye Date: Mon, 13 Jul 2015 21:55:56 +0900 Subject: [PATCH] Fix typo Closes gh-3473 --- .../boot/actuate/system/ApplicationPidFileWriter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 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 0416d78669..d47fba9e10 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 @@ -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 if (environment == null) { return null; } - return new RelaxedPropertyResolver(environment, this.prexfix) + return new RelaxedPropertyResolver(environment, this.prefix) .getProperty(this.key); }