aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main
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 /server/sonar-main
parentf81bf3c5f5caf93173c53499c13a7e54b60b28f9 (diff)
downloadsonarqube-35749faa8b9f588b3269f3bcf09a776c0889e883.tar.gz
sonarqube-35749faa8b9f588b3269f3bcf09a776c0889e883.zip
Fix some Java compiler warnings
Diffstat (limited to 'server/sonar-main')
-rw-r--r--server/sonar-main/src/test/java/org/sonar/application/command/CommandFactoryImplTest.java2
-rw-r--r--server/sonar-main/src/test/java/org/sonar/application/process/EsProcessMonitorTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-main/src/test/java/org/sonar/application/command/CommandFactoryImplTest.java b/server/sonar-main/src/test/java/org/sonar/application/command/CommandFactoryImplTest.java
index 08cf403ea09..e6fb71a2548 100644
--- a/server/sonar-main/src/test/java/org/sonar/application/command/CommandFactoryImplTest.java
+++ b/server/sonar-main/src/test/java/org/sonar/application/command/CommandFactoryImplTest.java
@@ -40,7 +40,7 @@ import org.sonar.application.logging.ListAppender;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.entry;
-import static org.mockito.Matchers.anyString;
+import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.when;
public class CommandFactoryImplTest {
diff --git a/server/sonar-main/src/test/java/org/sonar/application/process/EsProcessMonitorTest.java b/server/sonar-main/src/test/java/org/sonar/application/process/EsProcessMonitorTest.java
index 6871eab19d0..01a18d41abd 100644
--- a/server/sonar-main/src/test/java/org/sonar/application/process/EsProcessMonitorTest.java
+++ b/server/sonar-main/src/test/java/org/sonar/application/process/EsProcessMonitorTest.java
@@ -41,7 +41,7 @@ import org.sonar.process.Props;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.tuple;
-import static org.mockito.Matchers.any;
+import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;