Polishing.

Related ticket: GH-2252.
This commit is contained in:
Oliver Drotbohm
2024-03-14 10:34:56 +01:00
parent bf17f39111
commit 11d55d8ee5
2 changed files with 16 additions and 9 deletions

View File

@@ -94,7 +94,7 @@ class ValidationErrorsUnitTests {
fail("Expected NotReadablePropertyException");
} catch (NotReadablePropertyException e) {}
assertThat(errors.getFieldValue("field")).isEqualTo((Object) "Hello");
assertThat(errors.getFieldValue("field")).isEqualTo("Hello");
}
static class Foo {
@@ -111,7 +111,8 @@ class ValidationErrorsUnitTests {
String field = "World";
}
static class TestKeyValueMappingContext<E extends KeyValuePersistentEntity<?, P>, P extends KeyValuePersistentProperty<P>> extends KeyValueMappingContext<E, P> {
static class TestKeyValueMappingContext<E extends KeyValuePersistentEntity<?, P>, P extends KeyValuePersistentProperty<P>>
extends KeyValueMappingContext<E, P> {
@Override
protected boolean shouldCreatePersistentEntityFor(TypeInformation<?> type) {