Skip to content

Commit

Permalink
jwtk#60 Fix typo in JwtBuilder comments
Browse files Browse the repository at this point in the history
A typographical error in the comments of the 'exp' function in JwtBuilder was corrected. The phrase "specified it if" was changed to "specified if it", making the comments clearer and easier to understand.
  • Loading branch information
pveeckhout committed Jan 10, 2024
1 parent 5a4992b commit a6a7950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/main/java/io/jsonwebtoken/JwtBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ public interface JwtBuilder extends ClaimsMutator<JwtBuilder> {
/**
* Sets the JWT Claims <a href="https://www.rfc-editor.org/rfc/rfc7519.html#section-4.1.4">
* <code>exp</code></a> (expiration) claim. It will set the expiration Date to the issuedAt time plus the duration
* specified it if has been set, otherwise it will use the current system time plus the duration specified
* specified if it has been set, otherwise it will use the current system time plus the duration specified
*
* <p>A JWT obtained after this timestamp should not be used.</p>
*
Expand Down

0 comments on commit a6a7950

Please sign in to comment.