diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-26 10:22:13 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-26 10:22:13 +0200 |
commit | c9fbb6a04bc2001bd9fb8519cb127c6c1ed56d29 (patch) | |
tree | dd503839b5f3c1db82ad4e7830193430a4e9232e /plugins/sonar-xoo-plugin/src | |
parent | 8664470d82c4f682866ca271d4e7e2a89374212f (diff) | |
download | sonarqube-c9fbb6a04bc2001bd9fb8519cb127c6c1ed56d29.tar.gz sonarqube-c9fbb6a04bc2001bd9fb8519cb127c6c1ed56d29.zip |
Revert "SONAR-5642 Initial work on Git provider"
This reverts commit b375ce53532d11c75c9c920b36f0c4692d123c87.
Diffstat (limited to 'plugins/sonar-xoo-plugin/src')
-rw-r--r-- | plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/XooScmProvider.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/XooScmProvider.java b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/XooScmProvider.java index 895d47dfbbe..71582efc3ef 100644 --- a/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/XooScmProvider.java +++ b/plugins/sonar-xoo-plugin/src/main/java/org/sonar/xoo/lang/XooScmProvider.java @@ -60,14 +60,14 @@ public class XooScmProvider implements ScmProvider { } @Override - public void blame(Iterable<InputFile> files, BlameResult handler) { + public void blame(Iterable<InputFile> files, BlameResultHandler handler) { for (InputFile inputFile : files) { processFile(inputFile, handler); } } @VisibleForTesting - protected void processFile(InputFile inputFile, BlameResult handler) { + protected void processFile(InputFile inputFile, BlameResultHandler handler) { File ioFile = inputFile.file(); File scmDataFile = new java.io.File(ioFile.getParentFile(), ioFile.getName() + SCM_EXTENSION); if (!scmDataFile.exists()) { @@ -94,7 +94,7 @@ public class XooScmProvider implements ScmProvider { blame.add(new BlameLine(date, revision, author)); } } - handler.add(inputFile, blame); + handler.handle(inputFile, blame); } catch (IOException e) { throw new IllegalStateException(e); } |