aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2022-01-10 17:09:39 +0100
committersonartech <sonartech@sonarsource.com>2022-01-21 20:03:21 +0000
commit3ec97d1a4368fdd3212d524aacfc73403ed709ce (patch)
tree19e45c7af2353bbedf2823cf0d9b0c9e8a3bb6b6 /sonar-plugin-api
parent77f20a5c300a8f1576c20185de265119ef2fc8a9 (diff)
downloadsonarqube-3ec97d1a4368fdd3212d524aacfc73403ed709ce.tar.gz
sonarqube-3ec97d1a4368fdd3212d524aacfc73403ed709ce.zip
SONAR-14929 New Code using a 'reference branch' doesn't detect changed code with git merge workflow
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/scm/ScmProvider.java2
1 files changed, 2 insertions, 0 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 6dfbe796073..5e173433bf0 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
@@ -87,8 +87,10 @@ public abstract class ScmProvider {
*
* @return null if the SCM provider was not able to compute the date
* @since 8.4
+ * @deprecated Not used anymore since 9.3
*/
@CheckForNull
+ @Deprecated
public Instant forkDate(String referenceBranchName, Path rootBaseDir) {
return null;
}