diff --git a/src/main/java/org/springframework/data/repository/CrudRepository.java b/src/main/java/org/springframework/data/repository/CrudRepository.java index d823b52bd..46133b4b8 100644 --- a/src/main/java/org/springframework/data/repository/CrudRepository.java +++ b/src/main/java/org/springframework/data/repository/CrudRepository.java @@ -31,7 +31,7 @@ public interface CrudRepository extends Repository { * entity instance completely. * * @param entity must not be {@literal null}. - * @return the saved entity will never be {@literal null}. + * @return the saved entity; will never be {@literal null}. */ S save(S entity); @@ -39,7 +39,7 @@ public interface CrudRepository extends Repository { * Saves all given entities. * * @param entities must not be {@literal null}. - * @return the saved entities will never be {@literal null}. + * @return the saved entities; will never be {@literal null}. * @throws IllegalArgumentException in case the given entity is {@literal null}. */ Iterable saveAll(Iterable entities);