diff options
author | Jenkins CI <ci@sonarsource.com> | 2015-10-19 08:01:13 +0200 |
---|---|---|
committer | Jenkins CI <ci@sonarsource.com> | 2015-10-19 08:01:13 +0200 |
commit | f0f585d25d40d6117e586167f5f42c93978060f8 (patch) | |
tree | 10bbc946f8396d9067043f29ba3b54cd8b157010 /sonar-plugin-api | |
parent | be6bb0b97dc41ca7e21238a34abcd17e7facd480 (diff) | |
parent | 11d92d774618e7ac47d06d27e2ff8e363fb02b77 (diff) | |
download | sonarqube-f0f585d25d40d6117e586167f5f42c93978060f8.tar.gz sonarqube-f0f585d25d40d6117e586167f5f42c93978060f8.zip |
Automatic merge from branch-5.2
* origin/branch-5.2:
fix reset of TreeRootHolderRule + reduce duplication
reduce polling time of Compute Engine scheduler from 10s to 2
add name to thread used by NotificationService
fix duplicated SqlSessionFactory in memory
minor fix in MutableAnalysisMetadataHolder#setAnalysisDate javadoc
do not reload profile details when selecting a project, fix tooltips
improve readability of language selection on the profiles page
fix capitalization inconsistency of the notification dispatcher names
fix error in JsonWriter usage description in javadoc of WebService
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java index d6a22bd65ba..bdaa27ff1be 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java @@ -69,7 +69,9 @@ import static com.google.common.base.Preconditions.checkArgument; * public void handle(Request request, Response response) { * // read request parameters and generates response output * response.newJsonWriter() + * .beginObject() * .prop("hello", request.mandatoryParam("key")) + * .endObject() * .close(); * } * }) |