issue-890 correct fix for deprecated Jersey method

additionally
- fixed EnumValueTest to the directory structure based on the declared package
- regenerated samples/client/java/jersey1
This commit is contained in:
Oliver Vidovic
2016-10-11 11:43:54 -04:00
parent 504f8f1f21
commit da6e829c8e
34 changed files with 65 additions and 61 deletions

View File

@@ -609,7 +609,7 @@ public class ApiClient {
statusCode = response.getStatusInfo().getStatusCode();
responseHeaders = response.getHeaders();
if(response.getStatusInfo() == ClientResponse.Status.NO_CONTENT) {
if(response.getStatusInfo().getStatusCode() == ClientResponse.Status.NO_CONTENT.getStatusCode()) {
return null;
} else if (response.getStatusInfo().getFamily() == Family.SUCCESSFUL) {
if (returnType == null)