From: Simon Brandhof Date: Mon, 24 Mar 2014 16:21:32 +0000 (+0100) Subject: Fix javadoc of org.sonar.api.server.ws.WebService X-Git-Tag: 4.3~296 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=de01dbe251f7691a55b0a8720b7260a0e691dcfe;p=sonarqube.git Fix javadoc of org.sonar.api.server.ws.WebService --- 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 5b97abbfbbb..83e53ee72d2 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 @@ -42,7 +42,7 @@ import java.util.Map; *

How to use

*
  * public class HelloWs implements WebService {
- *   @Override
+ *   {@literal @}Override
  *   public void define(Context context) {
  *     NewController controller = context.createController("api/hello");
  *     controller.setDescription("Web service example");
@@ -51,7 +51,7 @@ import java.util.Map;
  *     controller.createAction("show")
  *       .setDescription("Entry point")
  *       .setHandler(new RequestHandler() {
- *         @Override
+ *         {@literal @}Override
  *         public void handle(Request request, Response response) {
  *           // read request parameters and generates response output
  *           response.newJsonWriter()
@@ -71,7 +71,7 @@ import java.util.Map;
  * public class HelloWsTest {
  *   WebService ws = new HelloWs();
  *
- *   @Test
+ *   {@literal @}Test
  *   public void should_define_ws() throws Exception {
  *     // WsTester is available in the Maven artifact org.codehaus.sonar:sonar-testing-harness
  *     WsTester tester = new WsTester(ws);