summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb
index 071b75aa54b..e1877fa6e9d 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/models/project_measure.rb
@@ -62,9 +62,6 @@ class ProjectMeasure < ActiveRecord::Base
end
def formatted_value
- if text_value.nil? && value.nil?
- return nil
- end
if metric.nil?
return value.to_s
end