aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJenkins CI <ci@sonarsource.com>2015-10-19 08:01:13 +0200
committerJenkins CI <ci@sonarsource.com>2015-10-19 08:01:13 +0200
commitf0f585d25d40d6117e586167f5f42c93978060f8 (patch)
tree10bbc946f8396d9067043f29ba3b54cd8b157010 /sonar-plugin-api
parentbe6bb0b97dc41ca7e21238a34abcd17e7facd480 (diff)
parent11d92d774618e7ac47d06d27e2ff8e363fb02b77 (diff)
downloadsonarqube-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.java2
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();
* }
* })