From 8cc83d180d3345e65f4e7713081ebf2058ae63d0 Mon Sep 17 00:00:00 2001 From: Andrew Young Date: Wed, 27 Nov 2013 12:58:58 -0800 Subject: [PATCH] Fixed spacing issue. --- .../java/src/main/java/com/wordnik/client/ApiInvoker.java | 2 +- src/main/resources/Java/apiInvoker.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/client/petstore/java/src/main/java/com/wordnik/client/ApiInvoker.java b/samples/client/petstore/java/src/main/java/com/wordnik/client/ApiInvoker.java index 2e1dff71027..de64ba9f1e7 100644 --- a/samples/client/petstore/java/src/main/java/com/wordnik/client/ApiInvoker.java +++ b/samples/client/petstore/java/src/main/java/com/wordnik/client/ApiInvoker.java @@ -125,7 +125,7 @@ public class ApiInvoker { throw new ApiException(500, "unknown method type " + method); } if(response.getClientResponseStatus() == ClientResponse.Status.NO_CONTENT) { - return null; + return null; } else if(response.getClientResponseStatus().getFamily() == Family.SUCCESSFUL) { return (String) response.getEntity(String.class); diff --git a/src/main/resources/Java/apiInvoker.mustache b/src/main/resources/Java/apiInvoker.mustache index f755728ffa5..bdeb632f740 100644 --- a/src/main/resources/Java/apiInvoker.mustache +++ b/src/main/resources/Java/apiInvoker.mustache @@ -125,7 +125,7 @@ public class ApiInvoker { throw new ApiException(500, "unknown method type " + method); } if(response.getClientResponseStatus() == ClientResponse.Status.NO_CONTENT) { - return null; + return null; } else if(response.getClientResponseStatus().getFamily() == Family.SUCCESSFUL) { return (String) response.getEntity(String.class);