Skip to content

Commit b3ae0f7

Browse files
Polishing.
Update documentation to match method signature. Original Pull Request: #2410
1 parent d3cd1ab commit b3ae0f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/springframework/data/mapping/PersistentProperty.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ public interface PersistentProperty<P extends PersistentProperty<P>> {
7676
Iterable<? extends TypeInformation<?>> getPersistentEntityTypes();
7777

7878
/**
79-
* Returns the {@link TypeInformation} if the property references a {@link PersistentEntity}. Will return
80-
* {@literal null} in case it refers to a simple type. Will return {@link Collection}'s component type or the
81-
* {@link Map}'s value type transparently.
79+
* Returns the detected {@link TypeInformation TypeInformations} if the property references a {@link PersistentEntity}.
80+
* Will return an {@literal empty} {@link Iterable} in case it refers to a simple type. Will return the {@link Collection}'s
81+
* component types or the {@link Map}'s value type transparently.
8282
*
83-
* @return
83+
* @return never {@literal null}.
8484
* @since 2.6
8585
*/
8686
Iterable<? extends TypeInformation<?>> getPersistentEntityTypeInformation();

0 commit comments

Comments
 (0)