aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2016-08-23 14:44:56 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2016-08-23 14:44:56 +0200
commit1a6e5d814b671a123916226d1025a328f4e9da25 (patch)
tree7baebdd00e69f51bb9c0dd5233481edb092125d0 /src/main/java
parent4e62271c74a2346ba9d8d42d16916874a0fde5bc (diff)
downloadsonar-scanner-cli-1a6e5d814b671a123916226d1025a328f4e9da25.tar.gz
sonar-scanner-cli-1a6e5d814b671a123916226d1025a328f4e9da25.zip
Improve test coverage
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/sonarsource/scanner/cli/Main.java8
1 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 19b953c..9833c85 100644
--- a/src/main/java/org/sonarsource/scanner/cli/Main.java
+++ b/src/main/java/org/sonarsource/scanner/cli/Main.java
@@ -36,7 +36,7 @@ import org.sonarsource.scanner.api.EmbeddedScanner;
* @since 1.0
*/
public class Main {
-
+ private static final String SEPARATOR = "------------------------------------------------------------------------";
private final Exit exit;
private final Cli cli;
private final Conf conf;
@@ -112,11 +112,11 @@ public class Main {
}
private void displayExecutionResult(Stats stats, String resultMsg) {
- logger.info("------------------------------------------------------------------------");
+ logger.info(SEPARATOR);
logger.info("EXECUTION " + resultMsg);
- logger.info("------------------------------------------------------------------------");
+ logger.info(SEPARATOR);
stats.stop();
- logger.info("------------------------------------------------------------------------");
+ logger.info(SEPARATOR);
}
private void showError(String message, Throwable e, boolean showStackTrace) {