Browse Source

DATACMNS-1580 - Add semicolon in documentation for clarity.

Original pull request: #401.
pull/420/head
Jef LeCompte 6 years ago committed by Mark Paluch
parent
commit
2a242a0166
  1. 4
      src/main/java/org/springframework/data/repository/CrudRepository.java

4
src/main/java/org/springframework/data/repository/CrudRepository.java

@ -31,7 +31,7 @@ public interface CrudRepository<T, ID> extends Repository<T, ID> { @@ -31,7 +31,7 @@ public interface CrudRepository<T, ID> extends Repository<T, ID> {
* 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 extends T> S save(S entity);
@ -39,7 +39,7 @@ public interface CrudRepository<T, ID> extends Repository<T, ID> { @@ -39,7 +39,7 @@ public interface CrudRepository<T, ID> extends Repository<T, ID> {
* 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}.
*/
<S extends T> Iterable<S> saveAll(Iterable<S> entities);

Loading…
Cancel
Save