diff --git a/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/AggregateChangeIdGenerationUnitTests.java b/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/AggregateChangeIdGenerationUnitTests.java index 5eab98e9..8eb90fe0 100644 --- a/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/AggregateChangeIdGenerationUnitTests.java +++ b/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/AggregateChangeIdGenerationUnitTests.java @@ -325,10 +325,11 @@ public class AggregateChangeIdGenerationUnitTests { return insert; } - DbAction.Insert createDeepInsert(String propertyName, Object value, Object key, - @Nullable DbAction.Insert parentInsert) { + DbAction.Insert createDeepInsert(String propertyName, Object value, @Nullable Object key, + DbAction.Insert parentInsert) { - PersistentPropertyPath propertyPath = toPath(parentInsert.getPropertyPath().toDotPath() + "." + propertyName); + PersistentPropertyPath propertyPath = toPath( + parentInsert.getPropertyPath().toDotPath() + "." + propertyName); DbAction.Insert insert = new DbAction.Insert<>(value, propertyPath, parentInsert); insert.getQualifiers().put(propertyPath, key); return insert; @@ -339,7 +340,7 @@ public class AggregateChangeIdGenerationUnitTests { PersistentPropertyPaths persistentPropertyPaths = context .findPersistentPropertyPaths(DummyEntity.class, p -> true); - return persistentPropertyPaths.filter(p -> p.toDotPath().equals(path)).stream().findFirst() + return persistentPropertyPaths.filter(p -> path.equals(p.toDotPath())).stream().findFirst() .orElseThrow(() -> new IllegalArgumentException("No matching path found")); }