diff options
Diffstat (limited to 'sonar-ws/src/main/java/org/sonarqube/ws/client/BaseService.java')
-rw-r--r-- | sonar-ws/src/main/java/org/sonarqube/ws/client/BaseService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/BaseService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/BaseService.java index 4c6a0e9449e..46e07dbb804 100644 --- a/sonar-ws/src/main/java/org/sonarqube/ws/client/BaseService.java +++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/BaseService.java @@ -52,7 +52,7 @@ public abstract class BaseService { return wsConnector.call(request).failIfNotSuccessful(); } - public <T extends Message> T convert(WsResponse response, Parser<T> parser) { + public static <T extends Message> T convert(WsResponse response, Parser<T> parser) { try (InputStream byteStream = response.contentStream()) { byte[] bytes = IOUtils.toByteArray(byteStream); // HTTP header "Content-Type" is not verified. It may be different than protobuf. |