]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaw
authorSimon Brandhof <simon.brandhof@gmail.com>
Thu, 6 Dec 2012 18:56:42 +0000 (19:56 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Thu, 6 Dec 2012 18:56:52 +0000 (19:56 +0100)
sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceType.java

index 93b6a0da86b6336abe218194295a0e32180a0612..4abc461925266e96b8bd622dea12696d44421333 100644 (file)
@@ -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;