diff --git a/src/main/java/com/bunq/sdk/http/ApiClient.java b/src/main/java/com/bunq/sdk/http/ApiClient.java index e6995cf1..1d3599d4 100644 --- a/src/main/java/com/bunq/sdk/http/ApiClient.java +++ b/src/main/java/com/bunq/sdk/http/ApiClient.java @@ -263,15 +263,15 @@ private static void assertResponseSuccess(int responseCode, byte[] responseBodyB private static ApiException createApiExceptionRequestUnsuccessful(Integer responseCode, String responseBody, String responseId) { - List AllErrorDescription = new ArrayList<>(); + List 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 fetchAllErrorDescription(String responseBody)