aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2013-12-02 18:02:03 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2013-12-03 08:13:01 +0100
commitc6aae7c065df6bdbe0d96baf1d5d46e459d36a57 (patch)
treeccc79c34cba29934610285364740d3238ffad78a /sonar-batch
parent21b31b0168666161f555e06d9ad8650ada4ea32a (diff)
downloadsonarqube-c6aae7c065df6bdbe0d96baf1d5d46e459d36a57.tar.gz
sonarqube-c6aae7c065df6bdbe0d96baf1d5d46e459d36a57.zip
Fix quality flaws
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/technicaldebt/TechnicalDebtModelLoader.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/technicaldebt/TechnicalDebtModelLoader.java b/sonar-batch/src/main/java/org/sonar/batch/technicaldebt/TechnicalDebtModelLoader.java
index 1cb40584f4c..ba46f1805af 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/technicaldebt/TechnicalDebtModelLoader.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/technicaldebt/TechnicalDebtModelLoader.java
@@ -53,7 +53,7 @@ public class TechnicalDebtModelLoader implements BatchComponent {
Map<Integer, DefaultCharacteristic> characteristicsById = newHashMap();
addRootCharacteristics(model, dtos, characteristicsById);
- addCharacteristics(model, dtos, characteristicsById);
+ addCharacteristics(dtos, characteristicsById);
addRequirements(model, dtos, characteristicsById);
return model;
}
@@ -68,7 +68,7 @@ public class TechnicalDebtModelLoader implements BatchComponent {
}
}
- private void addCharacteristics(DefaultTechnicalDebtModel model, List<CharacteristicDto> dtos, Map<Integer, DefaultCharacteristic> characteristicsById) {
+ private void addCharacteristics(List<CharacteristicDto> dtos, Map<Integer, DefaultCharacteristic> characteristicsById) {
for (CharacteristicDto dto : dtos) {
if (dto.getParentId() != null && dto.getRuleId() == null) {
DefaultCharacteristic parent = characteristicsById.get(dto.getParentId());