aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-05-11 18:14:19 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-05-12 12:37:19 +0200
commitc01e10ac1000017f3930193d42222e257155fc42 (patch)
tree69ede7e09cf1b8986ad8060b267bd91a287298cc /sonar-plugin-api/src
parent4cffaf26dab29b5722a2d5ed8e5000a4ef2460ef (diff)
downloadsonarqube-c01e10ac1000017f3930193d42222e257155fc42.tar.gz
sonarqube-c01e10ac1000017f3930193d42222e257155fc42.zip
SONAR-9056 WS api/components/suggestion filter allowed qualifiers
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceTypes.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceTypes.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceTypes.java
index 1d67e4624ee..10c15a14346 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceTypes.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/ResourceTypes.java
@@ -47,12 +47,7 @@ import org.sonar.api.server.ServerSide;
@ComputeEngineSide
public class ResourceTypes {
- public static final Predicate<ResourceType> AVAILABLE_FOR_FILTERS = new Predicate<ResourceType>() {
- @Override
- public boolean apply(@Nullable ResourceType input) {
- return input != null && input.getBooleanProperty("supportsMeasureFilters");
- }
- };
+ public static final Predicate<ResourceType> AVAILABLE_FOR_FILTERS = input -> input != null && input.getBooleanProperty("supportsMeasureFilters");
private final Map<String, ResourceTypeTree> treeByQualifier;
private final Map<String, ResourceType> typeByQualifier;