From 153aa2fa65b7f76a62e22bc22d6c4344bb0a4987 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 6 Dec 2012 19:56:42 +0100 Subject: [PATCH] Fix quality flaw --- .../src/main/java/org/sonar/api/resources/ResourceType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5