]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3800 The Timeline widget generates many warnings
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Tue, 18 Sep 2012 10:29:32 +0000 (12:29 +0200)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Tue, 18 Sep 2012 10:29:32 +0000 (12:29 +0200)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb

index 17b0543a2e560a8565839644ff8781bf1c2019b2..6bcd0d7c1fa246f9d0c669173067a7e3821c1a62 100644 (file)
@@ -57,7 +57,7 @@
              # Only Oracle returns a Time object, so let's parse this string if it's not a Time instance
              m_date = Time.parse(metric_data[:date]) unless m_date.is_a? Time
              m_value = sprintf("%0.02f", metric_data[:value])
-             m_value_localized = ProjectMeasure.new (:metric => metric_map[metric_id]).format_numeric_value(metric_data[:value], {})
+             m_value_localized = ProjectMeasure.new(:metric => metric_map[metric_id]).format_numeric_value(metric_data[:value], {})
              js_data += "{x:d("
              js_data += m_date.year.to_s
              js_data += ","