Skip to content

Commit

Permalink
Removed beginning capital from variable name. (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Jan 2, 2018
1 parent c21c1f1 commit d5b6270
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/com/bunq/sdk/http/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,15 @@ private static void assertResponseSuccess(int responseCode, byte[] responseBodyB

private static ApiException createApiExceptionRequestUnsuccessful(Integer responseCode,
String responseBody, String responseId) {
List<String> AllErrorDescription = new ArrayList<>();
List<String> allErrorDescription = new ArrayList<>();

try {
AllErrorDescription.addAll(fetchAllErrorDescription(responseBody));
allErrorDescription.addAll(fetchAllErrorDescription(responseBody));
} catch (JsonSyntaxException exception) {
AllErrorDescription.add(responseBody);
allErrorDescription.add(responseBody);
}

return ExceptionFactory.createExceptionForResponse(responseCode, AllErrorDescription, responseId);
return ExceptionFactory.createExceptionForResponse(responseCode, allErrorDescription, responseId);
}

private static List<String> fetchAllErrorDescription(String responseBody)
Expand Down

0 comments on commit d5b6270

Please sign in to comment.