Skip to content

Commit

Permalink
update BasicRepository to reflect change to List
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed Mar 18, 2024
1 parent 11e6479 commit 2db7962
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public interface BasicRepository<T, K> extends DataRepository<T, K> {
* @throws NullPointerException in case the given {@link Iterable ids} or one of its items is {@code null}.
*/
@Find
Stream<T> findByIdIn(@By(ID) Iterable<K> ids);
Stream<T> findByIdIn(@By(ID) List<K> ids);

/**
* Deletes the entity with the given Id.
Expand Down Expand Up @@ -226,7 +226,7 @@ public interface BasicRepository<T, K> extends DataRepository<T, K> {
* @throws NullPointerException when the iterable is {@code null} or contains {@code null} elements.
*/
@Delete
void deleteByIdIn(@By(ID) Iterable<K> ids);
void deleteByIdIn(@By(ID) List<K> ids);

/**
* Deletes the given entities. Deletion of each entity is performed by matching the unique identifier,
Expand Down

0 comments on commit 2db7962

Please sign in to comment.