diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-05-03 22:42:05 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-05-03 22:49:12 +0200 |
commit | 02f85f98608fdf03a880025768c2d576ae9a88d4 (patch) | |
tree | 7a811168b5227b35d917a720fbcfffed3e7ad5c1 /sonar-batch | |
parent | d36537ad6bb829c4a3fb19ac4de1fccd77aa1f64 (diff) | |
download | sonarqube-02f85f98608fdf03a880025768c2d576ae9a88d4.tar.gz sonarqube-02f85f98608fdf03a880025768c2d576ae9a88d4.zip |
SONAR-3755 rename COST to EFFORT_TO_FIX
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedViolations.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedViolations.java b/sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedViolations.java index 8ebc4150672..d0db555891a 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedViolations.java +++ b/sonar-batch/src/main/java/org/sonar/batch/issue/DeprecatedViolations.java @@ -52,7 +52,7 @@ public class DeprecatedViolations implements BatchComponent { .createdDate(creationDate) .componentKey(violation.getResource().getEffectiveKey()) .ruleKey(RuleKey.of(violation.getRule().getRepositoryKey(), violation.getRule().getKey())) - .cost(violation.getCost()) + .effortToFix(violation.getCost()) .line(violation.getLineId()) .description(violation.getMessage()) .severity(violation.getSeverity() != null ? violation.getSeverity().name() : Severity.MAJOR) |