diff options
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scm/svn/SvnScmProvider.java')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scm/svn/SvnScmProvider.java | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scm/svn/SvnScmProvider.java b/sonar-scanner-engine/src/main/java/org/sonar/scm/svn/SvnScmProvider.java index 535ee8b2993..57bdbd4edd3 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scm/svn/SvnScmProvider.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scm/svn/SvnScmProvider.java @@ -54,12 +54,10 @@ public class SvnScmProvider extends ScmProvider { private final SvnConfiguration configuration; private final SvnBlameCommand blameCommand; - private final FindFork findFork; - public SvnScmProvider(SvnConfiguration configuration, SvnBlameCommand blameCommand, FindFork findFork) { + public SvnScmProvider(SvnConfiguration configuration, SvnBlameCommand blameCommand) { this.configuration = configuration; this.blameCommand = blameCommand; - this.findFork = findFork; } @Override @@ -202,12 +200,7 @@ public class SvnScmProvider extends ScmProvider { @CheckForNull @Override public Instant forkDate(String referenceBranch, Path rootBaseDir) { - try { - return findFork.findDate(rootBaseDir, referenceBranch); - } catch (SVNException e) { - LOG.warn("Unable to find fork date with '" + referenceBranch + "'", e); - return null; - } + return null; } ChangedLinesComputer newChangedLinesComputer(Path rootBaseDir, Set<Path> changedFiles) { |