Skip to content

Commit

Permalink
minor assertion fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lhazlewood committed Sep 30, 2023
1 parent cf0667f commit 02a29a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ private void verifySignature(final TokenizedJwt tokenized, final JwsHeader jwsHe
private Jwt<?, ?> parse(Reader compact, Payload unencodedPayload)
throws ExpiredJwtException, MalformedJwtException, SignatureException {

//Assert.hasText(compact, "JWT String cannot be null or empty.");
Assert.notNull(compact, "Compact reader cannot be null.");
Assert.stateNotNull(unencodedPayload, "internal error: unencodedPayload is null.");

final TokenizedJwt tokenized = jwtTokenizer.tokenize(compact);
Expand Down

0 comments on commit 02a29a0

Please sign in to comment.