diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-04-15 09:15:20 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-04-15 09:15:20 +0200 |
commit | 9a3d3fc2d03cf39ff102068124681b9bc78dc4b6 (patch) | |
tree | be6a7b96038cc24f9dd535c8f0adf19aba57f0aa /it/it-plugins | |
parent | a444f194d4352ccb6ef70d79161620311b1cda8f (diff) | |
download | sonarqube-9a3d3fc2d03cf39ff102068124681b9bc78dc4b6.tar.gz sonarqube-9a3d3fc2d03cf39ff102068124681b9bc78dc4b6.zip |
SONAR-6948 rename method Request#getLocalConnector() to localConnector()
Diffstat (limited to 'it/it-plugins')
-rw-r--r-- | it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java b/it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java index b878ef2c47f..7a2ca7561aa 100644 --- a/it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java +++ b/it/it-plugins/ws-plugin/src/main/java/LocalCallWebService.java @@ -49,7 +49,7 @@ public final class LocalCallWebService implements WebService { private class ProtobufHandler implements RequestHandler { @Override public void handle(Request request, Response response) throws Exception { - WsClient client = wsClientFactory.newClient(request.getLocalConnector()); + WsClient client = wsClientFactory.newClient(request.localConnector()); WsCe.TaskTypesWsResponse ceTaskTypes = client.ce().taskTypes(); response.stream().setStatus(ceTaskTypes.getTaskTypesCount() > 0 ? 200 : 500); @@ -59,7 +59,7 @@ public final class LocalCallWebService implements WebService { private class JsonHandler implements RequestHandler { @Override public void handle(Request request, Response response) throws Exception { - WsClient client = wsClientFactory.newClient(request.getLocalConnector()); + WsClient client = wsClientFactory.newClient(request.localConnector()); WsResponse jsonResponse = client.wsConnector().call(new GetRequest("api/issues/search")); boolean ok = jsonResponse.contentType().equals(MediaTypes.JSON) @@ -72,7 +72,7 @@ public final class LocalCallWebService implements WebService { private class RequirePermissionHandler implements RequestHandler { @Override public void handle(Request request, Response response) throws Exception { - WsClient client = wsClientFactory.newClient(request.getLocalConnector()); + WsClient client = wsClientFactory.newClient(request.localConnector()); WsResponse jsonResponse = client.wsConnector().call(new GetRequest("api/system/info")); |