From 5f1b48e1589a03fee9910f4d338be57a9c84bffa Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Thu, 1 Oct 2015 18:10:47 +0200 Subject: Improve quality --- sonar-home/src/main/java/org/sonar/home/cache/FileCacheBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-home') 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 -- cgit v1.2.3