Fix JwtBuilder javadoc - resolves #386

This commit is contained in:
Johannes Wengert 2018-08-16 09:42:53 +02:00
parent 77f1a69c72
commit 0fd3622703
1 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ public interface JwtBuilder extends ClaimsMutator<JwtBuilder> {
*
* <p>instead of this:</p>
* <pre>
* Claims claims = Jwts.claims().setSubject("You");
* Claims claims = Jwts.claims().setAudience("You");
* String jwt = Jwts.builder().setClaims(claims).compact();
* </pre>
* <p>if desired.</p>
@ -306,7 +306,7 @@ public interface JwtBuilder extends ClaimsMutator<JwtBuilder> {
*
* <p>instead of this:</p>
* <pre>
* Claims claims = Jwts.claims().setIssuedAt(UUID.randomUUID().toString());
* Claims claims = Jwts.claims().setId(UUID.randomUUID().toString());
* String jwt = Jwts.builder().setClaims(claims).compact();
* </pre>
* <p>if desired.</p>