From b3ae0f7b0b1cc445b039196ce396c82841dae0b2 Mon Sep 17 00:00:00 2001 From: Christoph Strobl Date: Tue, 13 Jul 2021 07:50:50 +0200 Subject: [PATCH] Polishing. Update documentation to match method signature. Original Pull Request: #2410 --- .../springframework/data/mapping/PersistentProperty.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/springframework/data/mapping/PersistentProperty.java b/src/main/java/org/springframework/data/mapping/PersistentProperty.java index acffe7cd2..83e0350d5 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentProperty.java +++ b/src/main/java/org/springframework/data/mapping/PersistentProperty.java @@ -76,11 +76,11 @@ public interface PersistentProperty

> { Iterable> getPersistentEntityTypes(); /** - * Returns the {@link TypeInformation} if the property references a {@link PersistentEntity}. Will return - * {@literal null} in case it refers to a simple type. Will return {@link Collection}'s component type or the - * {@link Map}'s value type transparently. + * Returns the detected {@link TypeInformation TypeInformations} if the property references a {@link PersistentEntity}. + * Will return an {@literal empty} {@link Iterable} in case it refers to a simple type. Will return the {@link Collection}'s + * component types or the {@link Map}'s value type transparently. * - * @return + * @return never {@literal null}. * @since 2.6 */ Iterable> getPersistentEntityTypeInformation();