summaryrefslogtreecommitdiffstats
path: root/sonar-server/src
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-04-20 20:02:36 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-04-20 20:08:59 +0400
commitb9f4c1ec56d7cb7d8ffe2e3b87f2cd2daee14cf7 (patch)
tree517391d87eb70fb1c7fa2a6527e574b382529663 /sonar-server/src
parent3c653a2018b745f32b2c6ed9a7ecea9edb153d08 (diff)
downloadsonarqube-b9f4c1ec56d7cb7d8ffe2e3b87f2cd2daee14cf7.tar.gz
sonarqube-b9f4c1ec56d7cb7d8ffe2e3b87f2cd2daee14cf7.zip
SONAR-2293,SONAR-2282 Re-apply changes, which were lost
Diffstat (limited to 'sonar-server/src')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb
index e9cf723d21d..ad8dfbed1ba 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/resource_controller.rb
@@ -78,7 +78,7 @@ class ResourceController < ApplicationController
@expanded=(params[:expand]=='true')
if @snapshot.source
- source_lines=Java::OrgSonarServerUi::JRubyFacade.new.colorizeCode(@snapshot.source.data, @snapshot.project.language).split("\n")
+ source_lines=@snapshot.source.syntax_highlighted_lines()
init_scm()
@lines=[]