From 2354d349fbb29c29502f9bd7a3bf4da4f8e94ad3 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Wed, 22 Feb 2012 00:36:57 +0100 Subject: Remove unused ruby method Resourceable#qualifier_name --- sonar-server/src/main/webapp/WEB-INF/lib/resourceable.rb | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/lib/resourceable.rb b/sonar-server/src/main/webapp/WEB-INF/lib/resourceable.rb index 18daee64fe8..dc1bf888f94 100644 --- a/sonar-server/src/main/webapp/WEB-INF/lib/resourceable.rb +++ b/sonar-server/src/main/webapp/WEB-INF/lib/resourceable.rb @@ -36,18 +36,6 @@ module Resourceable QUALIFIER_UNIT_TEST_CLASS='UTS' QUALIFIER_LIB='LIB' QUALIFIERS=[QUALIFIER_VIEW, QUALIFIER_SUBVIEW, QUALIFIER_PROJECT, QUALIFIER_MODULE, QUALIFIER_DIRECTORY, QUALIFIER_PACKAGE, QUALIFIER_FILE, QUALIFIER_CLASS, QUALIFIER_UNIT_TEST_CLASS, QUALIFIER_LIB] - QUALIFIER_NAMES={ - QUALIFIER_VIEW => 'view', - QUALIFIER_SUBVIEW => 'sub_view', - QUALIFIER_PROJECT => 'project', - QUALIFIER_MODULE => 'sub_project', - QUALIFIER_DIRECTORY => 'directory', - QUALIFIER_PACKAGE => 'package', - QUALIFIER_FILE => 'file', - QUALIFIER_CLASS => 'class', - QUALIFIER_UNIT_TEST_CLASS => 'unit_test', - QUALIFIER_LIB => 'library' - } def set? scope==SCOPE_SET @@ -117,8 +105,4 @@ module Resourceable Java::OrgSonarServerUi::JRubyFacade.getInstance().getResourceType(qualifier) end end - - def self.qualifier_name(qualifier) - QUALIFIER_NAMES[qualifier] - end end -- cgit v1.2.3