aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-08-08 12:03:26 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-08-08 12:03:26 +0200
commit6fc44fc8c736f720305752097cf0690fc48551a8 (patch)
tree0f1914a19ed62a5c76795c137df162d8dc8eeb26
parente5c362b6d4991f37c5c43e3ffc6ce14e91785069 (diff)
downloadsonarqube-6fc44fc8c736f720305752097cf0690fc48551a8.tar.gz
sonarqube-6fc44fc8c736f720305752097cf0690fc48551a8.zip
Change comment in ruby API
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
index 935a7231d33..81df96f4895 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb
@@ -434,9 +434,10 @@ module ApplicationHelper
# === Examples
# trend_icon('ncloc')
# trend_icon(measure('ncloc'))
- # trend_icon('ncloc', :big => true, :empty => true)
+ # trend_icon('ncloc', :empty => true)
#
def trend_icon(metric_or_measure, options={})
+ m=nil
if metric_or_measure.is_a? ProjectMeasure
m = metric_or_measure
elsif @snapshot