From c660710f23ebfee872380e70d0dc4d24b6616c40 Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Thu, 14 Jan 2016 15:12:25 +0100 Subject: [PATCH] SONAR-7135 WS api/measures/component_tree update description base component is returned in the response --- .../org/sonar/server/measure/ws/ComponentTreeAction.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/ws/ComponentTreeAction.java b/server/sonar-server/src/main/java/org/sonar/server/measure/ws/ComponentTreeAction.java index 13e7de617ed..e13cc234ffc 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/measure/ws/ComponentTreeAction.java +++ b/server/sonar-server/src/main/java/org/sonar/server/measure/ws/ComponentTreeAction.java @@ -109,11 +109,11 @@ public class ComponentTreeAction implements MeasuresWsAction { .setExampleValue("FILE_NAM"); action.createParam(PARAM_BASE_COMPONENT_ID) - .setDescription("Base component id. The search is based on this component. It is not included in the response.") + .setDescription("Base component id. The search is based on this component.") .setExampleValue(UUID_EXAMPLE_02); action.createParam(PARAM_BASE_COMPONENT_KEY) - .setDescription("Base component key.The search is based on this component. It is not included in the response.") + .setDescription("Base component key.The search is based on this component.") .setExampleValue("org.apache.hbas:hbase"); action.createParam(PARAM_METRIC_KEYS) @@ -152,7 +152,7 @@ public class ComponentTreeAction implements MeasuresWsAction { private ComponentTreeWsResponse doHandle(ComponentTreeWsRequest request) { ComponentTreeData data = dataLoader.load(request); - if (data.getComponents()==null) { + if (data.getComponents() == null) { return emptyResponse(data.getBaseComponent(), request); } -- 2.39.5