diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-04-02 17:49:32 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-06-17 19:05:26 +0200 |
commit | 31e3a71ef3e97fb6041200f6493d457901d8285b (patch) | |
tree | 719eec8dcd1bb482ddc0a816b1d0eb959af5eb83 /sonar-home | |
parent | ec362118f5482b294fc657c00be6288142106428 (diff) | |
download | sonarqube-31e3a71ef3e97fb6041200f6493d457901d8285b.tar.gz sonarqube-31e3a71ef3e97fb6041200f6493d457901d8285b.zip |
Remove coupling on commons-io FileUtils
Diffstat (limited to 'sonar-home')
-rw-r--r-- | sonar-home/src/main/java/org/sonar/home/cache/FileCacheBuilder.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-home/src/main/java/org/sonar/home/cache/FileCacheBuilder.java b/sonar-home/src/main/java/org/sonar/home/cache/FileCacheBuilder.java index bb3c20f95e6..59441a5ec92 100644 --- a/sonar-home/src/main/java/org/sonar/home/cache/FileCacheBuilder.java +++ b/sonar-home/src/main/java/org/sonar/home/cache/FileCacheBuilder.java @@ -19,7 +19,6 @@ */ package org.sonar.home.cache; -import org.apache.commons.io.FileUtils; import org.sonar.home.log.Log; import org.sonar.home.log.StandardLog; @@ -52,7 +51,7 @@ public class FileCacheBuilder { String path = System.getenv("SONAR_USER_HOME"); if (path == null) { // Default - path = FileUtils.getUserDirectoryPath() + File.separator + ".sonar"; + path = System.getProperty("user.home") + File.separator + ".sonar"; } userHome = new File(path); } |