Skip to content

Commit 1034152

Browse files
committed
PMD
1 parent dc11963 commit 1034152

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ private OAuth2TokenResponse executeClientCredentialsFlow( @Nullable final Tenant
193193
.getOrElseThrow(e -> buildException(e, tenant));
194194
}
195195

196-
private TokenRequestFailedException buildException( Throwable e, Tenant tenant )
196+
private TokenRequestFailedException buildException(@Nonnull final Throwable e, @Nullable final Tenant tenant )
197197
{
198198
String msg = "Failed to resolve access token.";
199199
// In case where tenant is subscriber, and we get 401 error, add hint to error message.

0 commit comments

Comments
 (0)