mirror of
https://github.com/jwtk/jjwt.git
synced 2025-02-16 16:45:04 +00:00
Apply suggestions from code review
Co-authored-by: Marcono1234 <Marcono1234@users.noreply.github.com>
This commit is contained in:
parent
6c25d67978
commit
52b2ab13d1
@ -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
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user