Skip to content

Commit

Permalink
Polishing.
Browse files Browse the repository at this point in the history
Simplify code.

Original Pull Request: #3059
mp911de authored and christophstrobl committed Mar 8, 2024
1 parent 3db2669 commit aec8f1a
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
@@ -157,15 +157,6 @@ public TypeInformation<?> getTypeInformation() {

@Override
public Iterable<? extends TypeInformation<?>> getPersistentEntityTypeInformation() {

if (isMap() || isCollectionLike()) {
return entityTypeInformation.get();
}

if (!isEntity()) {
return Collections.emptySet();
}

return entityTypeInformation.get();
}

@@ -292,6 +283,7 @@ public Class<?> getActualType() {
return getActualTypeInformation().getType();
}

@Override
public boolean usePropertyAccess() {
return usePropertyAccess.get();
}

0 comments on commit aec8f1a

Please sign in to comment.