diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/sonarsource/scanner/cli/Main.java | 4 | ||||
-rw-r--r-- | src/test/java/org/sonarsource/scanner/cli/MainTest.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/sonarsource/scanner/cli/Main.java b/src/main/java/org/sonarsource/scanner/cli/Main.java index 787cc80..f9a613d 100644 --- a/src/main/java/org/sonarsource/scanner/cli/Main.java +++ b/src/main/java/org/sonarsource/scanner/cli/Main.java @@ -88,10 +88,10 @@ public class Main { private void logServerType(ScannerEngineFacade engine) { if (engine.isSonarCloud()) { - logger.info("Analyzing on SonarCloud"); + logger.info("Communicating with SonarCloud"); } else { String serverVersion = engine.getServerVersion(); - logger.info(String.format("Analyzing on SonarQube server %s", serverVersion)); + logger.info(String.format("Communicating with SonarQube Server %s", serverVersion)); } } diff --git a/src/test/java/org/sonarsource/scanner/cli/MainTest.java b/src/test/java/org/sonarsource/scanner/cli/MainTest.java index 6b8099d..3169142 100644 --- a/src/test/java/org/sonarsource/scanner/cli/MainTest.java +++ b/src/test/java/org/sonarsource/scanner/cli/MainTest.java @@ -247,7 +247,7 @@ public class MainTest { Main main = new Main(exit, cli, conf, scannerEngineBootstrapperFactory, logs); main.analyze(); - verify(logs).info("Analyzing on SonarQube server 5.5"); + verify(logs).info("Communicating with SonarQube Server 5.5"); } @Test @@ -259,7 +259,7 @@ public class MainTest { Main main = new Main(exit, cli, conf, scannerEngineBootstrapperFactory, logs); main.analyze(); - verify(logs).info("Analyzing on SonarCloud"); + verify(logs).info("Communicating with SonarCloud"); } @Test |