We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5a6ae7 commit 6fd54d5Copy full SHA for 6fd54d5
modules/swagger-codegen/src/main/resources/android-java/apiInvoker.mustache
@@ -365,8 +365,10 @@ public class ApiInvoker {
365
366
int code = response.getStatusLine().getStatusCode();
367
String responseString = null;
368
- if(code == 204)
+ if(code == 204) {
369
responseString = "";
370
+ return responseString;
371
+ }
372
else if(code >= 200 && code < 300) {
373
if(response.getEntity() != null) {
374
HttpEntity resEntity = response.getEntity();
0 commit comments