aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-10-01 18:10:47 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-10-01 18:10:47 +0200
commit5f1b48e1589a03fee9910f4d338be57a9c84bffa (patch)
tree7fac95632e0fe3624a21250ac4cac8bc547dd49f /sonar-home
parent01ac3cca26ddb38857fa0dbc93559ef180894988 (diff)
downloadsonarqube-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.java2
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