aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmBranchProvider.java6
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;
}
}