Skip to content

Commit b645ad7

Browse files
committed
Fix code formatting in JpaMetamodelContext
- Add blank lines for better readability - Improve code formatting consistency Signed-off-by: academey <[email protected]>
1 parent 894a06c commit b645ad7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/query/JpaMetamodelContext.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public boolean isIdProperty(Class<?> entityType, String propertyName) {
6060

6161
try {
6262
ManagedType<?> managedType = metamodel.managedType(entityType);
63-
63+
6464
if (managedType instanceof EntityType<?> entity) {
6565
// Check for single ID attribute
6666
if (entity.hasSingleIdAttribute()) {
@@ -72,11 +72,11 @@ public boolean isIdProperty(Class<?> entityType, String propertyName) {
7272
return entity.getIdClassAttributes().stream()
7373
.anyMatch(attr -> attr.getName().equals(propertyName));
7474
}
75-
75+
7676
} catch (IllegalArgumentException e) {
7777
// Type not found in metamodel
7878
}
79-
79+
8080
return false;
8181
}
8282

0 commit comments

Comments
 (0)