Skip to content

Commit 34879f0

Browse files
committed
code format
1 parent 826cd82 commit 34879f0

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

cloudplatform/connectivity-oauth/src/main/java/com/sap/cloud/sdk/cloudplatform/connectivity/HttpClient5OAuth2TokenService.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@ private String executeRequest(
137137
throw e;
138138
}
139139
catch( final IOException e ) {
140-
final var exception =
141-
OAuth2ServiceException
142-
.builder("Error requesting access token!")
143-
.withUri(tokenUri)
144-
.withRequestHeaders(getHeadersAsStringArray(httpPost.getHeaders()))
145-
.withResponseBody(e.getMessage())
146-
.build();
147-
exception.initCause(e);
148-
throw exception;
140+
final var exception =
141+
OAuth2ServiceException
142+
.builder("Error requesting access token!")
143+
.withUri(tokenUri)
144+
.withRequestHeaders(getHeadersAsStringArray(httpPost.getHeaders()))
145+
.withResponseBody(e.getMessage())
146+
.build();
147+
exception.initCause(e);
148+
throw exception;
149149
}
150150
}
151151

0 commit comments

Comments
 (0)