File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -22,21 +22,21 @@ The central interface in Spring Data repository abstraction is `Repository` (pro
2222[source, java]
2323----
2424public interface CrudRepository<T, ID extends Serializable>
25- extends Repository<T, ID> {
25+ extends Repository<T, ID> {
2626
27- <S extends T> S save(S entity); <1>
27+ <S extends T> S save(S entity); <1>
2828
29- Optional<T> findById(ID primaryKey); <2>
29+ Optional<T> findById(ID primaryKey); <2>
3030
31- Iterable<T> findAll(); <3>
31+ Iterable<T> findAll(); <3>
3232
33- long count(); <4>
33+ long count(); <4>
3434
35- void delete(T entity); <5>
35+ void delete(T entity); <5>
3636
37- boolean existsById(ID primaryKey); <6>
37+ boolean existsById(ID primaryKey); <6>
3838
39- // … more functionality omitted.
39+ // … more functionality omitted.
4040}
4141----
4242<1> Saves the given entity.
You can’t perform that action at this time.
0 commit comments