File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
samples/client/petstore/java/src/main/java/com/wordnik/client Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ else if ("DELETE".equals(method)) {
125
125
throw new ApiException (500 , "unknown method type " + method );
126
126
}
127
127
if (response .getClientResponseStatus () == ClientResponse .Status .NO_CONTENT ) {
128
- return null ;
128
+ return null ;
129
129
}
130
130
else if (response .getClientResponseStatus ().getFamily () == Family .SUCCESSFUL ) {
131
131
return (String ) response .getEntity (String .class );
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ public class ApiInvoker {
125
125
throw new ApiException(500, " unknown method type " + method);
126
126
}
127
127
if(response.getClientResponseStatus() == ClientResponse.Status.NO_CONTENT) {
128
- return null;
128
+ return null;
129
129
}
130
130
else if(response.getClientResponseStatus().getFamily() == Family.SUCCESSFUL) {
131
131
return (String) response.getEntity(String.class);
You can’t perform that action at this time.
0 commit comments