summaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-12-06 19:56:42 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-12-06 19:56:52 +0100
commit153aa2fa65b7f76a62e22bc22d6c4344bb0a4987 (patch)
tree49ae3e2d3ada91bdc263c81dfde0809323150f32 /sonar-plugin-api
parent69d25bdcd1d6907768826674c9f6c32b449f80f0 (diff)
downloadsonarqube-153aa2fa65b7f76a62e22bc22d6c4344bb0a4987.tar.gz
sonarqube-153aa2fa65b7f76a62e22bc22d6c4344bb0a4987.zip
Fix quality flaw
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceType.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceType.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceType.java
index 93b6a0da86b..4abc4619252 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceType.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceType.java
@@ -111,7 +111,7 @@ public final class ResourceType {
properties.put(key, value);
// for backward-compatibility since version 3.4
- if (key.equals("availableForFilters")) {
+ if ("availableForFilters".equals(key)) {
properties.put("supportsMeasureFilters", value);
}
return this;