From 754b87a8a459cd629bb3395a60ee7cdaf95b69fc Mon Sep 17 00:00:00 2001 From: Les Hazlewood Date: Tue, 12 May 2015 18:51:59 -0700 Subject: [PATCH] Readme and JavaDoc updates for the upcoming 0.5 release --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c119d92..ea797b63 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ How easy was that!? Now let's verify the JWT (you should always discard JWTs that don't match an expected signature): ```java -assert Jwts.parser().setSigningKey(key).parseClaimsJws(compact).getBody().getSubject().equals("Joe"); +assert Jwts.parser().setSigningKey(key).parseClaimsJws(s).getBody().getSubject().equals("Joe"); ``` You have to love one-line code snippets!