diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2017-09-08 15:27:31 +0200 |
---|---|---|
committer | Janos Gyerik <janos.gyerik@sonarsource.com> | 2017-09-12 11:34:59 +0200 |
commit | a0ff3c4c80d659bf766ed73ee4a27a3b86e7abbe (patch) | |
tree | 494f0fd4ab99f395d7712600673dffe09cf5698f /sonar-scanner-engine/src | |
parent | 39c110298f71325ce73d584e5034acc904c32c40 (diff) | |
download | sonarqube-a0ff3c4c80d659bf766ed73ee4a27a3b86e7abbe.tar.gz sonarqube-a0ff3c4c80d659bf766ed73ee4a27a3b86e7abbe.zip |
Remove message about deprecated sonar.branch
Diffstat (limited to 'sonar-scanner-engine/src')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java | 1 | ||||
-rw-r--r-- | sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java index edbb9bfd689..42311f87b75 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/scan/ProjectScanContainer.java @@ -235,7 +235,6 @@ public class ProjectScanContainer extends ComponentContainer { String branch = tree.root().definition().getBranch(); if (branch != null) { LOG.info("Branch key: {}", branch); - LOG.warn("The use of \"sonar.branch\" is deprecated and replaced by \"sonar.branch.name\". See https://redirect.sonarsource.com/doc/branches.html."); } String branchName = props.property(ScannerProperties.BRANCH_NAME); diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java index 0de22581f63..9a924c9d8ac 100644 --- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java +++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/mediumtest/fs/FileSystemMediumTest.java @@ -164,7 +164,6 @@ public class FileSystemMediumTest { assertThat(logs.getAllAsString()).contains("Project key: com.foo.project"); assertThat(logs.getAllAsString()).contains("Branch key: my-branch"); - assertThat(logs.getAllAsString()).contains("The use of \"sonar.branch\" is deprecated and replaced by \"sonar.branch.name\"."); } @Test |