From: Simon Brandhof Date: Mon, 12 Oct 2015 19:36:19 +0000 (+0200) Subject: SONAR-6219 Fix ruby warning "don't put space before argument parentheses" X-Git-Tag: 5.2-RC3~51 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fbe888ec262ddf5343edfe597ee831ba9daf4814;p=sonarqube.git SONAR-6219 Fix ruby warning "don't put space before argument parentheses" --- 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