Skip to content

Commit

Permalink
applied spotless. apache#4369
Browse files Browse the repository at this point in the history
  • Loading branch information
bamaer committed Oct 6, 2024
1 parent 87b0e72 commit 1605a82
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public String getResponse(String url) throws HopException {
Invocation.Builder invocationBuilder = target.request();
if (!StringUtils.isEmpty(authorizationPrefix)) {
invocationBuilder.header(
authorizationHeaderName, authorizationPrefix + " " + authorizationHeaderValue);
authorizationHeaderName, authorizationPrefix + " " + authorizationHeaderValue);
} else {
invocationBuilder.header(authorizationHeaderName, authorizationHeaderValue);
}
Expand All @@ -86,7 +86,7 @@ public void testConnection() throws HopException {
Invocation.Builder invocationBuilder = target.request();
if (!StringUtils.isEmpty(authorizationPrefix)) {
invocationBuilder.header(
authorizationHeaderName, authorizationPrefix + " " + authorizationHeaderValue);
authorizationHeaderName, authorizationPrefix + " " + authorizationHeaderValue);
} else {
invocationBuilder.header(authorizationHeaderName, authorizationHeaderValue);
}
Expand All @@ -97,7 +97,6 @@ public void testConnection() throws HopException {
response.close();
}


public RestConnection(RestConnection connection) {
this.baseUrl = connection.baseUrl;
}
Expand Down Expand Up @@ -184,5 +183,4 @@ public String getAuthorizationHeaderValue() {
public void setAuthorizationHeaderValue(String authorizationHeaderValue) {
this.authorizationHeaderValue = authorizationHeaderValue;
}

}

0 comments on commit 1605a82

Please sign in to comment.