From dac9ee66af2fd03e0e937d6ab86db52142c83461 Mon Sep 17 00:00:00 2001 From: Les Hazlewood Date: Wed, 13 May 2015 13:04:11 -0700 Subject: [PATCH] Minor syntax correction --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c6b90a4e..ced277de 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ import java.security.Key; // We need a signing key, so we'll create one just for this example. Usually // the key would be read from your application configuration instead. -Key key = MacProvider.generateKey() +Key key = MacProvider.generateKey(); String s = Jwts.builder().setSubject("Joe").signWith(SignatureAlgorithm.HS512, key).compact(); ```