Skip to content

Commit

Permalink
fixes generic name conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
otaviojava committed Mar 3, 2019
1 parent 6273d0b commit dd63088
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -180,11 +180,11 @@ default <T> Iterable<T> update(Iterable<T> entities) {
* @param entityClass the entity class
* @param id the id value
* @param <T> the entity class type
* @param <ID> the id type
* @param <K> the id type
* @throws NullPointerException when either the entityClass or id are null
* @throws org.jnosql.artemis.IdNotFoundException when the entityClass does not have the Id annotation
*/
<T, ID> void delete(Class<T> entityClass, ID id);
<T, K> void delete(Class<T> entityClass, K id);

/**
* Returns the number of elements from document collection
Expand Down
Expand Up @@ -258,11 +258,11 @@ default <T> void update(Iterable<T> entities) {
* @param entityClass the entity class
* @param id the id value
* @param <T> the entity class type
* @param <ID> the id type
* @param <K> the id type
* @throws NullPointerException when either the entityClass or id are null
* @throws org.jnosql.artemis.IdNotFoundException when the entityClass does not have the Id annotation
*/
<T, ID> void delete(Class<T> entityClass, ID id);
<T, K> void delete(Class<T> entityClass, K id);

/**
* Returns the number of elements from document collection
Expand Down

0 comments on commit dd63088

Please sign in to comment.