aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home/src/test/java/org/sonar/home/cache/FileCacheBuilderTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-home/src/test/java/org/sonar/home/cache/FileCacheBuilderTest.java')
-rw-r--r--sonar-home/src/test/java/org/sonar/home/cache/FileCacheBuilderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-home/src/test/java/org/sonar/home/cache/FileCacheBuilderTest.java b/sonar-home/src/test/java/org/sonar/home/cache/FileCacheBuilderTest.java
index 623d407868e..8e144c9ed14 100644
--- a/sonar-home/src/test/java/org/sonar/home/cache/FileCacheBuilderTest.java
+++ b/sonar-home/src/test/java/org/sonar/home/cache/FileCacheBuilderTest.java
@@ -43,7 +43,7 @@ public class FileCacheBuilderTest {
@Test
public void user_home_property_can_be_null() {
- FileCache cache = new FileCacheBuilder(mock(Logger.class)).setUserHome((String) null).build();
+ FileCache cache = new FileCacheBuilder(mock(Logger.class)).setUserHome(null).build();
// does not fail. It uses default path or env variable
assertThat(cache.getDir()).isDirectory().exists();