diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2017-09-20 17:11:21 +0200 |
---|---|---|
committer | Duarte Meneses <duarte.meneses@sonarsource.com> | 2017-09-28 09:14:43 +0200 |
commit | 5abe7f209af3621d1bd94ef15c9d43e93a056200 (patch) | |
tree | bceacae53e61a91e3fab19a5a2de91b44900bc4d /sonar-plugin-api | |
parent | 0a201a057cac9263b641614d5491d2061ab3ab80 (diff) | |
download | sonarqube-5abe7f209af3621d1bd94ef15c9d43e93a056200.tar.gz sonarqube-5abe7f209af3621d1bd94ef15c9d43e93a056200.zip |
SONAR-9837 Detect files changed in the current branch with SCM
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmBranchProvider.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmBranchProvider.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmBranchProvider.java index 5984182c010..1cb4c476702 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmBranchProvider.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmBranchProvider.java @@ -21,7 +21,7 @@ package org.sonar.api.batch.scm; import java.nio.file.Path; -import java.util.Collection; +import java.util.Set; import javax.annotation.Nullable; import org.sonar.api.ExtensionPoint; import org.sonar.api.batch.InstantiationStrategy; @@ -37,11 +37,11 @@ import org.sonar.api.batch.ScannerSide; public abstract class ScmBranchProvider extends ScmProvider { /** - * Return absolute path of files changed in the current branch, compared to the provided target branch. + * Return absolute path of the files changed in the current branch, compared to the provided target branch. * @return null if SCM provider was not able to compute the list of files. */ @Nullable - public Collection<Path> branchChangedFiles(String targetBranchName, Path rootBaseDir) { + public Set<Path> branchChangedFiles(String targetBranchName, Path rootBaseDir) { return null; } } |