diff options
author | lukasz-jarocki-sonarsource <77498856+lukasz-jarocki-sonarsource@users.noreply.github.com> | 2021-02-26 09:29:39 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-02-26 20:07:39 +0000 |
commit | 9cb17b6dbce261af578b7c5fe430fa340d4ff1ad (patch) | |
tree | decb117810be86812b2849f8adb388de5a97919d /sonar-plugin-api/src/main/java/org | |
parent | 26ca7559fab8b6a0379468a0a5b5f7d83c1baaa9 (diff) | |
download | sonarqube-9cb17b6dbce261af578b7c5fe430fa340d4ff1ad.tar.gz sonarqube-9cb17b6dbce261af578b7c5fe430fa340d4ff1ad.zip |
Revert SONAR-14478, SONAR-14462, SONAR-14461
* Revert "SONAR-14478 - Main Branch Documentation"
This reverts commit 59eae7cf3f2e611e162a4e0122ae5846b10a45b1.
* Revert "SONAR-14462 Do not display the branch name until the main branch is analyzed for the first time"
This reverts commit 20f7319c06affdae62d39d1bad002f16504465a2.
* Revert "SONAR-14461 main branch detection"
This reverts commit c04baa1e8e3b492953d66a6bc4111c01f3ee3069.
* Revert "SONAR-14461 Remove hardcoded usage of 'master'"
This reverts commit 32eefaf2d36af375af280cc3ba664fd71e0f6afd.
* Revert "SONAR-14461 save the default main branch when needed"
This reverts commit 879a4be2afc570b2248fb4d639f42f913215805b.
Diffstat (limited to 'sonar-plugin-api/src/main/java/org')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmProvider.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmProvider.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmProvider.java index b208a2359d4..6dfbe796073 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmProvider.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmProvider.java @@ -68,17 +68,6 @@ public abstract class ScmProvider { } /** - * Return the main branch name. - * - * @return null if the SCM provider was not able to find the main branch. - * @since 8.8 - */ - @CheckForNull - public String getMainBranch(Path rootBaseDir) { - return null; - } - - /** * Return a map between paths given as argument and the corresponding line numbers which are new compared to the provided target branch. * If nothing is returned for a file, the scanner will consider that the provider was unable to determine changes for that file and it will * assume that nothing was changed in it. |