diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-10-01 18:10:47 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2015-10-01 18:10:47 +0200 |
commit | 5f1b48e1589a03fee9910f4d338be57a9c84bffa (patch) | |
tree | 7fac95632e0fe3624a21250ac4cac8bc547dd49f /sonar-home | |
parent | 01ac3cca26ddb38857fa0dbc93559ef180894988 (diff) | |
download | sonarqube-5f1b48e1589a03fee9910f4d338be57a9c84bffa.tar.gz sonarqube-5f1b48e1589a03fee9910f4d338be57a9c84bffa.zip |
Improve quality
Diffstat (limited to 'sonar-home')
-rw-r--r-- | sonar-home/src/main/java/org/sonar/home/cache/FileCacheBuilder.java | 2 |
1 files changed, 1 insertions, 1 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 e8027081aac..602a92e9df3 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 @@ -49,7 +49,7 @@ public class FileCacheBuilder { return FileCache.create(cacheDir, logger); } - private File findHome() { + private static File findHome() { String path = System.getenv("SONAR_USER_HOME"); if (path == null) { // Default |