aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-03 14:17:58 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-03 14:46:56 +0200
commitb6ca5e001aa355c737126f2d25b3a824ef686ce5 (patch)
tree7450c12b2b9fcb82a3fd5bda03a511bed9c587c2
parentc024588873d4b1b235b70371ec897b97d6e25fdb (diff)
downloadsonarqube-b6ca5e001aa355c737126f2d25b3a824ef686ce5.tar.gz
sonarqube-b6ca5e001aa355c737126f2d25b3a824ef686ce5.zip
Use Api::Utils.java_facade in utils.rb
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/models/api/utils.rb2
1 files changed, 1 insertions, 1 deletions
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
#