diff options
author | David Gageot <david@gageot.net> | 2012-04-27 16:45:37 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-04-27 16:48:58 +0200 |
commit | bd90fa7d3ec17f825cac80eebd46cf1ee0412ee9 (patch) | |
tree | 92a3ff7db9b91d9afe4684cc90a7a0cc5c3e010c /sonar-squid | |
parent | 1a6a18a5c4e73987a72b8176f398477f13074d29 (diff) | |
download | sonarqube-bd90fa7d3ec17f825cac80eebd46cf1ee0412ee9.tar.gz sonarqube-bd90fa7d3ec17f825cac80eebd46cf1ee0412ee9.zip |
Code cleaning : Remove unnecessary casts
Diffstat (limited to 'sonar-squid')
-rw-r--r-- | sonar-squid/src/main/java/org/sonar/squid/measures/MeanAggregationFormula.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-squid/src/main/java/org/sonar/squid/measures/MeanAggregationFormula.java b/sonar-squid/src/main/java/org/sonar/squid/measures/MeanAggregationFormula.java index a16643b028d..1cccabd96bb 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/measures/MeanAggregationFormula.java +++ b/sonar-squid/src/main/java/org/sonar/squid/measures/MeanAggregationFormula.java @@ -29,7 +29,7 @@ public class MeanAggregationFormula implements AggregationFormula { return 0; } SumAggregationFormula sumFormula = new SumAggregationFormula(); - return sumFormula.aggregate(metric, measurables) / (double) measurables.size(); + return sumFormula.aggregate(metric, measurables) / measurables.size(); } } |