aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-cpd-plugin/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-01-23 11:52:43 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-01-23 11:52:43 +0100
commit21e68cde8a2b1f4d8d89105be49ef2787d151c2b (patch)
tree604a2c5bb6c70727feb2ebd00100625bc3a14c8a /plugins/sonar-cpd-plugin/src
parent66bc1a5209be23f425bdd63cccb26f5dcc272697 (diff)
downloadsonarqube-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.java4
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) {