aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2018-03-09 14:08:43 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2018-03-12 09:24:23 +0100
commit35749faa8b9f588b3269f3bcf09a776c0889e883 (patch)
tree48ab0b5b81a2d08870359887cbf941d71c46e3b3 /sonar-home
parentf81bf3c5f5caf93173c53499c13a7e54b60b28f9 (diff)
downloadsonarqube-35749faa8b9f588b3269f3bcf09a776c0889e883.tar.gz
sonarqube-35749faa8b9f588b3269f3bcf09a776c0889e883.zip
Fix some Java compiler warnings
Diffstat (limited to 'sonar-home')
-rw-r--r--sonar-home/src/test/java/org/sonar/home/cache/FileCacheTest.java2
-rw-r--r--sonar-home/src/test/java/org/sonar/home/cache/FileHashesTest.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/sonar-home/src/test/java/org/sonar/home/cache/FileCacheTest.java b/sonar-home/src/test/java/org/sonar/home/cache/FileCacheTest.java
index 97bb4462e72..0e88e88b1f6 100644
--- a/sonar-home/src/test/java/org/sonar/home/cache/FileCacheTest.java
+++ b/sonar-home/src/test/java/org/sonar/home/cache/FileCacheTest.java
@@ -29,7 +29,7 @@ import org.junit.rules.ExpectedException;
import org.junit.rules.TemporaryFolder;
import static org.assertj.core.api.Assertions.assertThat;
-import static org.mockito.Matchers.any;
+import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verifyZeroInteractions;
import static org.mockito.Mockito.when;
diff --git a/sonar-home/src/test/java/org/sonar/home/cache/FileHashesTest.java b/sonar-home/src/test/java/org/sonar/home/cache/FileHashesTest.java
index 2d8780d4cea..975d0e65218 100644
--- a/sonar-home/src/test/java/org/sonar/home/cache/FileHashesTest.java
+++ b/sonar-home/src/test/java/org/sonar/home/cache/FileHashesTest.java
@@ -38,8 +38,8 @@ import java.nio.file.Files;
import java.security.SecureRandom;
import static org.assertj.core.api.Assertions.assertThat;
-import static org.mockito.Matchers.any;
-import static org.mockito.Matchers.anyInt;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;