Skip to content

Commit 52b2ab1

Browse files
bdemersMarcono1234
andcommitted
Apply suggestions from code review
Co-authored-by: Marcono1234 <[email protected]>
1 parent 6c25d67 commit 52b2ab1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

impl/src/main/java/io/jsonwebtoken/impl/JwtDeserializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import java.nio.charset.StandardCharsets;
2525

2626
/**
27-
* A {@link Deserializer} implementation that wraps another Deserializer implementation to adds common JWT related
27+
* A {@link Deserializer} implementation that wraps another Deserializer implementation to add common JWT related
2828
* error handling.
2929
* @param <T> type of object to deserialize.
3030
* @since 0.11.3

impl/src/test/groovy/io/jsonwebtoken/impl/JwtDeserializerTest.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import static org.junit.Assert.assertEquals
3232
class JwtDeserializerTest {
3333

3434
/**
35-
* It's common for JSON parser's to throw a StackOverflowError when body is deeply nested. Since it's common
35+
* It's common for JSON parsers to throw a StackOverflowError when body is deeply nested. Since it's common
3636
* across multiple parsers, JJWT handles the exception when parsing.
3737
*/
3838
@Test
@@ -54,7 +54,7 @@ class JwtDeserializerTest {
5454
}
5555

5656
/**
57-
* Check that a DeserializationException, is wrapped and rethrown as a MalformedJwtException with a developer friendly message.
57+
* Check that a DeserializationException is wrapped and rethrown as a MalformedJwtException with a developer friendly message.
5858
*/
5959
@Test
6060
void testDeserializationExceptionMessage() {

0 commit comments

Comments
 (0)