Polishing

This commit is contained in:
Sam Brannen
2024-09-20 10:57:03 +02:00
parent 3ba9d35e22
commit 8931b75b95
4 changed files with 52 additions and 33 deletions

View File

@@ -394,7 +394,7 @@ class Jackson2JsonDecoderTests extends AbstractDecoderTests<Jackson2JsonDecoder>
private static final long serialVersionUID = 1L;
protected Deserializer() {
Deserializer() {
super(TestObject.class);
}

View File

@@ -106,8 +106,8 @@ class ContentCachingRequestWrapperTests {
}
};
assertThatIllegalStateException().isThrownBy(() ->
wrapper.getInputStream().readAllBytes())
assertThatIllegalStateException()
.isThrownBy(() -> wrapper.getInputStream().readAllBytes())
.withMessage("3");
}