aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/lib/resourceable.rb16
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