aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home/src/main/java/org
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-30 09:38:41 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-06-30 09:40:15 +0200
commitc5bd5ad0ae4124f42818dfaf4eca2adc8c34423e (patch)
treea89815a0a0297c5e49cbbd497a47710160f6e20b /sonar-home/src/main/java/org
parent3860f8a3375534d27ce8d57aaa2ea5a335ac9fab (diff)
downloadsonarqube-c5bd5ad0ae4124f42818dfaf4eca2adc8c34423e.tar.gz
sonarqube-c5bd5ad0ae4124f42818dfaf4eca2adc8c34423e.zip
Fix quality flaws
Diffstat (limited to 'sonar-home/src/main/java/org')
-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 040ea887b8e..b4fd0da96d8 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
@@ -37,7 +37,7 @@ public class FileCacheBuilder {
}
public FileCacheBuilder setUserHome(@Nullable String path) {
- this.userHome = (path == null ? null : new File(path));
+ this.userHome = (path == null) ? null : new File(path);
return this;
}