diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2014-01-23 11:52:43 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2014-01-23 11:52:43 +0100 |
commit | 21e68cde8a2b1f4d8d89105be49ef2787d151c2b (patch) | |
tree | 604a2c5bb6c70727feb2ebd00100625bc3a14c8a /plugins/sonar-cpd-plugin/src | |
parent | 66bc1a5209be23f425bdd63cccb26f5dcc272697 (diff) | |
download | sonarqube-21e68cde8a2b1f4d8d89105be49ef2787d151c2b.tar.gz sonarqube-21e68cde8a2b1f4d8d89105be49ef2787d151c2b.zip |
Fix some quality flaws
Diffstat (limited to 'plugins/sonar-cpd-plugin/src')
-rw-r--r-- | plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java b/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java index d4d545d34d0..d82132e8d15 100644 --- a/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java +++ b/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java @@ -105,7 +105,7 @@ public class SonarEngine extends CpdEngine { return; } SonarDuplicationsIndex index = createIndex(project, sourceFiles); - detect(index, context, project, sourceFiles); + detect(index, context, sourceFiles); } private SonarDuplicationsIndex createIndex(Project project, Iterable<InputFile> sourceFiles) { @@ -138,7 +138,7 @@ public class SonarEngine extends CpdEngine { return index; } - private void detect(SonarDuplicationsIndex index, SensorContext context, Project project, Iterable<InputFile> sourceFiles) { + private void detect(SonarDuplicationsIndex index, SensorContext context, Iterable<InputFile> sourceFiles) { ExecutorService executorService = Executors.newSingleThreadExecutor(); try { for (InputFile inputFile : sourceFiles) { |