diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-01-27 09:20:28 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-01-30 13:25:53 +0100 |
commit | 999ffec1ea26edbc5934870d0b23e90a4bf88686 (patch) | |
tree | 475f8e658b8e57dc2addb29751c25fc5e0223578 /server | |
parent | 82d291e0327d14bac525979b952a8a45e68c1104 (diff) | |
download | sonarqube-999ffec1ea26edbc5934870d0b23e90a4bf88686.tar.gz sonarqube-999ffec1ea26edbc5934870d0b23e90a4bf88686.zip |
SONAR-8574 Fix typo
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/ws/RemovedWebServiceHandler.java | 2 | ||||
-rw-r--r-- | server/sonar-server/src/test/java/org/sonar/server/ws/RemovedWebServiceHandlerTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/ws/RemovedWebServiceHandler.java b/server/sonar-server/src/main/java/org/sonar/server/ws/RemovedWebServiceHandler.java index da2882c8f7c..8a3700c3389 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/ws/RemovedWebServiceHandler.java +++ b/server/sonar-server/src/main/java/org/sonar/server/ws/RemovedWebServiceHandler.java @@ -36,6 +36,6 @@ public enum RemovedWebServiceHandler implements RequestHandler { @Override public void handle(Request request, Response response) throws Exception { - throw new ServerException(HTTP_GONE, String.format("The web service '%s' doesn't exists anymore, please read its documentation to use alternatives", request.getPath())); + throw new ServerException(HTTP_GONE, String.format("The web service '%s' doesn't exist anymore, please read its documentation to use alternatives", request.getPath())); } } diff --git a/server/sonar-server/src/test/java/org/sonar/server/ws/RemovedWebServiceHandlerTest.java b/server/sonar-server/src/test/java/org/sonar/server/ws/RemovedWebServiceHandlerTest.java index 747747d4a33..abda43d3b90 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/ws/RemovedWebServiceHandlerTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/ws/RemovedWebServiceHandlerTest.java @@ -44,7 +44,7 @@ public class RemovedWebServiceHandlerTest { RemovedWebServiceHandler.INSTANCE.handle(request, null); fail(); } catch (ServerException e) { - assertThat(e.getMessage()).isEqualTo("The web service '/api/resources/index' doesn't exists anymore, please read its documentation to use alternatives"); + assertThat(e.getMessage()).isEqualTo("The web service '/api/resources/index' doesn't exist anymore, please read its documentation to use alternatives"); assertThat(e.httpCode()).isEqualTo(410); } } |