diff options
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/measures/CoverageMeasuresBuilder.java')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/measures/CoverageMeasuresBuilder.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoverageMeasuresBuilder.java b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoverageMeasuresBuilder.java index 4c729d71125..92b832e2993 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoverageMeasuresBuilder.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/measures/CoverageMeasuresBuilder.java @@ -37,12 +37,11 @@ public final class CoverageMeasuresBuilder { /** * Metrics of generated measures */ - public static final List<Metric> METRICS = Arrays.asList( + public static final List<Metric> METRICS = Arrays.<Metric>asList( CoreMetrics.LINES_TO_COVER, CoreMetrics.UNCOVERED_LINES, CoreMetrics.COVERAGE_LINE_HITS_DATA, CoreMetrics.CONDITIONS_TO_COVER, CoreMetrics.UNCOVERED_CONDITIONS, CoreMetrics.CONDITIONS_BY_LINE, CoreMetrics.COVERED_CONDITIONS_BY_LINE); - private int totalCoveredLines = 0, totalConditions = 0, totalCoveredConditions = 0; private SortedMap<Integer, Integer> hitsByLine = Maps.newTreeMap(); private SortedMap<Integer, Integer> conditionsByLine = Maps.newTreeMap(); |