diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-22 00:36:57 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-02-22 00:36:57 +0100 |
commit | 2354d349fbb29c29502f9bd7a3bf4da4f8e94ad3 (patch) | |
tree | 5de96184e45873d791391b6d05b21c74a9df1cda | |
parent | 323ace33d564b236e17bce37c8513ee0148aa262 (diff) | |
download | sonarqube-2354d349fbb29c29502f9bd7a3bf4da4f8e94ad3.tar.gz sonarqube-2354d349fbb29c29502f9bd7a3bf4da4f8e94ad3.zip |
Remove unused ruby method Resourceable#qualifier_name
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/lib/resourceable.rb | 16 |
1 files changed, 0 insertions, 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 |