In some cases, we currently use the traditional `instanceof` checks followed by explicit type casting.
With the introduction of pattern matching in recent Java versions, we can refactor these checks to make the code more concise and readable.
Original pull request #1868
@ -192,9 +192,9 @@ public class MappingJdbcConverter extends MappingRelationalConverter implements
@@ -192,9 +192,9 @@ public class MappingJdbcConverter extends MappingRelationalConverter implements
@ -491,8 +491,7 @@ public class AggregateChangeIdGenerationImmutableUnitTests {
@@ -491,8 +491,7 @@ public class AggregateChangeIdGenerationImmutableUnitTests {
@ -623,8 +622,7 @@ public class AggregateChangeIdGenerationImmutableUnitTests {
@@ -623,8 +622,7 @@ public class AggregateChangeIdGenerationImmutableUnitTests {
@ -725,8 +723,7 @@ public class AggregateChangeIdGenerationImmutableUnitTests {
@@ -725,8 +723,7 @@ public class AggregateChangeIdGenerationImmutableUnitTests {
@ -805,8 +802,7 @@ public class AggregateChangeIdGenerationImmutableUnitTests {
@@ -805,8 +802,7 @@ public class AggregateChangeIdGenerationImmutableUnitTests {
@ -66,8 +66,8 @@ public class JdbcRepositoryWithCollectionsAndManuallyAssignedIdHsqlIntegrationTe
@@ -66,8 +66,8 @@ public class JdbcRepositoryWithCollectionsAndManuallyAssignedIdHsqlIntegrationTe