diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-03-09 14:08:43 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-03-12 09:24:23 +0100 |
commit | 35749faa8b9f588b3269f3bcf09a776c0889e883 (patch) | |
tree | 48ab0b5b81a2d08870359887cbf941d71c46e3b3 /server/sonar-main | |
parent | f81bf3c5f5caf93173c53499c13a7e54b60b28f9 (diff) | |
download | sonarqube-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.java | 2 | ||||
-rw-r--r-- | server/sonar-main/src/test/java/org/sonar/application/process/EsProcessMonitorTest.java | 2 |
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; |