diff options
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/server/ws/WebService.java | 6 |
1 files changed, 3 insertions, 3 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 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; * <h2>How to use</h2> * <pre> * 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); |