Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
marcgs committed Jul 25, 2022
1 parent b583c8a commit 9182b28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void initialize(ServiceExtensionContext context) {
public JwtCredentialsVerifier createJwtVerifier(ServiceExtensionContext context) {
// Lazy instantiation of DidPublicKeyResolver to prevent injection issues. As the same extension is providing and requiring JwtCredentialsVerifier,
// while resolving the @Inject the provider method gets called, at which point the (if also injected) DidPublicKeyResolver might still be null, because it's not yet resolved.
if(didPublicKeyResolver == null){
if (didPublicKeyResolver == null) {
didPublicKeyResolver = context.getService(DidPublicKeyResolver.class);
}
return new DidJwtCredentialsVerifier(didPublicKeyResolver, monitor);
Expand Down

0 comments on commit 9182b28

Please sign in to comment.