aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-10-12 21:36:19 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-10-13 23:04:48 +0200
commitfbe888ec262ddf5343edfe597ee831ba9daf4814 (patch)
tree7ecf3fb83b87580c79d067ec26000f29502951b6 /server/sonar-server
parent3510446ff5cc2342a31c0d01631e0347f15ebab2 (diff)
downloadsonarqube-fbe888ec262ddf5343edfe597ee831ba9daf4814.tar.gz
sonarqube-fbe888ec262ddf5343edfe597ee831ba9daf4814.zip
SONAR-6219 Fix ruby warning "don't put space before argument parentheses"
Diffstat (limited to 'server/sonar-server')
-rw-r--r--server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/timeline.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/timeline.html.erb b/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/timeline.html.erb
index 6ce83d7e090..2fa6a7a0af0 100644
--- a/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/timeline.html.erb
+++ b/server/sonar-server/src/main/resources/org/sonar/server/dashboard/widget/timeline.html.erb
@@ -49,7 +49,7 @@
if previous_snapshot_id != sid
if metric_count_per_snapshot_id[previous_snapshot_id] != total_number_of_metrics
metric_map.keys.each do |metric_id|
- unless metric_previous_snapshot_id.include? (metric_id)
+ unless metric_previous_snapshot_id.include?(metric_id)
metric_data_map[metric_id] << {:date => previous_created_at, :value => 0.00, :sid => previous_snapshot_id}
if metric_count_per_snapshot_id[previous_snapshot_id]
metric_count_per_snapshot_id[previous_snapshot_id] += 1