From: Simon Brandhof Date: Wed, 3 Oct 2012 12:17:58 +0000 (+0200) Subject: Use Api::Utils.java_facade in utils.rb X-Git-Tag: 3.3~132 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b6ca5e001aa355c737126f2d25b3a824ef686ce5;p=sonarqube.git Use Api::Utils.java_facade in utils.rb --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb b/sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb index 56735bef90e..8aaf05ea3c9 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb @@ -78,7 +78,7 @@ class Api::Utils def self.message(key, options={}) default = options[:default] params = options[:params]||[] - Java::OrgSonarServerUi::JRubyFacade.getInstance().getMessage(I18n.locale, key, default, params.to_java) + java_facade.getMessage(I18n.locale, key, default, params.to_java) end #