From 6565bdc0197217e400c05dfa6168b15f59a06458 Mon Sep 17 00:00:00 2001 From: Les Hazlewood <121180+lhazlewood@users.noreply.github.com> Date: Thu, 12 Mar 2020 16:25:12 -0400 Subject: [PATCH] Minor JavaDoc fix and changelog updates. Fixes #535 (#575) --- CHANGELOG.md | 7 ++++--- api/src/main/java/io/jsonwebtoken/Claims.java | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9fedf50..73897768 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,10 @@ This patch release: -* Fixes issue when using Java 9+ `Map.of` with JacksonDeserializer which resulted in an NullPointerException -* Fixes issue preventing Gson seralizer/deserializer implementation from being detected automatically -* Services are now loaded from the context class loader, Services.class.classLoader, and the system classloader, the first classloader with a service wins, and the others are ignored. This mimics how `Classes.forName()` works, and how JJWT attempted to auto-discover various implementations in previous versions. +* Fixes an issue when using Java 9+ `Map.of` with `JacksonDeserializer` that resulted in an `NullPointerException`. +* Fixes an issue that prevented the `jjwt-gson` .jar's seralizer/deserializer implementation from being detected automatically. +* Ensures service implementations are now loaded from the context class loader, Services.class.classLoader, and the system classloader, the first classloader with a service wins, and the others are ignored. This mimics how `Classes.forName()` works, and how JJWT attempted to auto-discover various implementations in previous versions. +* Fixes a minor error in the `Claims#getIssuedAt` JavaDoc. ### 0.11.0 diff --git a/api/src/main/java/io/jsonwebtoken/Claims.java b/api/src/main/java/io/jsonwebtoken/Claims.java index c5717dfa..b5a404fb 100644 --- a/api/src/main/java/io/jsonwebtoken/Claims.java +++ b/api/src/main/java/io/jsonwebtoken/Claims.java @@ -141,7 +141,7 @@ public interface Claims extends Map, ClaimsMutator { * *

If present, this value is the timestamp when the JWT was created.

* - * @return the JWT {@code nbf} value or {@code null} if not present. + * @return the JWT {@code iat} value or {@code null} if not present. */ Date getIssuedAt();