aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-09-18 12:29:32 +0200
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>2012-09-18 12:29:32 +0200
commit857eb8efc022ff89ca0a1aaa11a3d4cbbe52d5ae (patch)
tree8f2318d5a043cd1ce10db187fd87b3e11effb478 /plugins/sonar-core-plugin
parentead620a8776acfb1a3e8e2e3d676a06311754f3e (diff)
downloadsonarqube-857eb8efc022ff89ca0a1aaa11a3d4cbbe52d5ae.tar.gz
sonarqube-857eb8efc022ff89ca0a1aaa11a3d4cbbe52d5ae.zip
SONAR-3800 The Timeline widget generates many warnings
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb
index 17b0543a2e5..6bcd0d7c1fa 100644
--- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb
+++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/timeline.html.erb
@@ -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 += ","