From ffe53480837f6a6526cae8acd1b77d297e6a4e2f Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 1 Dec 2014 13:46:06 -0800 Subject: [PATCH] Polish formatting --- .../boot/logging/LoggingApplicationListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java b/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java index d3eee2c1a9b..cc066df31b1 100644 --- a/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java +++ b/spring-boot/src/main/java/org/springframework/boot/logging/LoggingApplicationListener.java @@ -168,13 +168,13 @@ public class LoggingApplicationListener implements SmartApplicationListener { // Logback won't read backslashes so add a clean path for it to use if (!StringUtils.hasLength(System.getProperty("LOG_TEMP"))) { String path = System.getProperty("java.io.tmpdir"); - if (path!=null) { + if (path != null) { path = StringUtils.cleanPath(path); if (path.endsWith("/")) { path = path.substring(0, path.length() - 1); } System.setProperty("LOG_TEMP", path); - } + } } }