Skip to content

Commit

Permalink
Removed unnecessary spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
gnongsie committed Jul 16, 2024
1 parent 6f9d0e5 commit 9095c72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/authorize/util/HttpCallTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ private ANetApiResponse createErrorResponse(HttpResponse httpResponse, Exception
}

private void setErrorResponse(List<Message> messages, HttpResponse httpResponse) {
if ( null != httpResponse) {
if (null != httpResponse) {
messages.add(errorMessage);
String code = "Error";
String text = "Unknown Error";
LogHelper.warn( logger, "Error deserializing response to '%s'", this.classType);
LogHelper.warn(logger, "Error deserializing response to '%s'", this.classType);
code = String.format("%d", httpResponse.getCode());
if (null != httpResponse.getReasonPhrase()) {
text = httpResponse.getReasonPhrase();
Expand Down

0 comments on commit 9095c72

Please sign in to comment.