]> source.dussan.org Git - sonarqube.git/commitdiff
Change comment in ruby API
authorSimon Brandhof <simon.brandhof@gmail.com>
Mon, 8 Aug 2011 10:03:26 +0000 (12:03 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 8 Aug 2011 10:03:26 +0000 (12:03 +0200)
sonar-server/src/main/webapp/WEB-INF/app/helpers/application_helper.rb

index 935a7231d3353fe3fdc8c8de57d0e416a51668ee..81df96f48951c07f0cf14154dda61cbb0715ab7d 100644 (file)
@@ -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