Apply suggestions from code review

Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
This commit is contained in:
Brian Demers 2021-07-06 11:35:21 -04:00 committed by Brian Demers
parent 6c25d67978
commit 52b2ab13d1
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ import io.jsonwebtoken.lang.Assert;
import java.nio.charset.StandardCharsets;
/**
* A {@link Deserializer} implementation that wraps another Deserializer implementation to adds common JWT related
* A {@link Deserializer} implementation that wraps another Deserializer implementation to add common JWT related
* error handling.
* @param <T> type of object to deserialize.
* @since 0.11.3

View File

@ -32,7 +32,7 @@ import static org.junit.Assert.assertEquals
class JwtDeserializerTest {
/**
* It's common for JSON parser's to throw a StackOverflowError when body is deeply nested. Since it's common
* It's common for JSON parsers to throw a StackOverflowError when body is deeply nested. Since it's common
* across multiple parsers, JJWT handles the exception when parsing.
*/
@Test
@ -54,7 +54,7 @@ class JwtDeserializerTest {
}
/**
* Check that a DeserializationException, is wrapped and rethrown as a MalformedJwtException with a developer friendly message.
* Check that a DeserializationException is wrapped and rethrown as a MalformedJwtException with a developer friendly message.
*/
@Test
void testDeserializationExceptionMessage() {