Polish formatting

pull/2707/head
Phillip Webb 10 years ago
parent 64599261a5
commit ffe5348083

@ -168,7 +168,7 @@ public class LoggingApplicationListener implements SmartApplicationListener {
// Logback won't read backslashes so add a clean path for it to use // Logback won't read backslashes so add a clean path for it to use
if (!StringUtils.hasLength(System.getProperty("LOG_TEMP"))) { if (!StringUtils.hasLength(System.getProperty("LOG_TEMP"))) {
String path = System.getProperty("java.io.tmpdir"); String path = System.getProperty("java.io.tmpdir");
if (path!=null) { if (path != null) {
path = StringUtils.cleanPath(path); path = StringUtils.cleanPath(path);
if (path.endsWith("/")) { if (path.endsWith("/")) {
path = path.substring(0, path.length() - 1); path = path.substring(0, path.length() - 1);

Loading…
Cancel
Save