Skip to content

Commit 628c3bb

Browse files
committed
PMD again
1 parent fb110c6 commit 628c3bb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ private String executeRequest(
134134
});
135135
}
136136
catch( final IOException e ) {
137-
if( e instanceof final OAuth2ServiceException oAuth2Exception ) {
138-
throw oAuth2Exception;
137+
if( e instanceof OAuth2ServiceException ) {
138+
throw (OAuth2ServiceException) e;
139139
} else {
140140
final var exception =
141141
OAuth2ServiceException

0 commit comments

Comments
 (0)