]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7129 Update documentation to state directories are not returned when limiting...
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Tue, 5 Jan 2016 15:22:14 +0000 (16:22 +0100)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Tue, 5 Jan 2016 15:22:14 +0000 (16:22 +0100)
server/sonar-server/src/main/java/org/sonar/server/component/ws/TreeAction.java

index bf3a35414ee2a8837766bc0f2de210592baa5843..06022e993d05ec6e00c2b5ded78e704366368f17 100644 (file)
@@ -87,13 +87,14 @@ public class TreeAction implements ComponentsWsAction {
   public void define(WebService.NewController context) {
     WebService.NewAction action = context.createAction(ACTION_TREE)
       .setDescription(format("Navigate through components based on the chosen strategy. The %s or the %s parameter must be provided.<br>" +
-        "Requires one of the following permissions:" +
-        "<ul>" +
-        "<li>'Administer System'</li>" +
-        "<li>'Administer' rights on the specified project</li>" +
-        "<li>'Browse' on the specified project</li>" +
-        "</ul>",
-        PARAM_BASE_COMPONENT_ID, PARAM_BASE_COMPONENT_KEY))
+          "Requires one of the following permissions:" +
+          "<ul>" +
+          "<li>'Administer System'</li>" +
+          "<li>'Administer' rights on the specified project</li>" +
+          "<li>'Browse' on the specified project</li>" +
+          "</ul>" +
+          "When limiting search with the %s parameter, directories are not returned.",
+        PARAM_BASE_COMPONENT_ID, PARAM_BASE_COMPONENT_KEY, Param.TEXT_QUERY))
       .setSince("5.4")
       .setResponseExample(getClass().getResource("tree-example.json"))
       .setHandler(this)