File tree 2 files changed +4
-4
lines changed
src/main/java/com/arangodb/springframework/core 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ <T> MultiDocumentEntity<DocumentUpdateEntity<T>> updateAll(
209
209
* @return information about the documents
210
210
* @throws DataAccessException
211
211
*/
212
- <T > MultiDocumentEntity <DocumentUpdateEntity <?>> updateAll (Iterable <T > values , Class <T > entityClass ) throws DataAccessException ;
212
+ <T > MultiDocumentEntity <DocumentUpdateEntity <?>> updateAll (Iterable <? extends T > values , Class <T > entityClass ) throws DataAccessException ;
213
213
214
214
/**
215
215
* Partially updates the document identified by document id or key. The value must contain a document with the
@@ -384,7 +384,7 @@ <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertAll(
384
384
* @return information about the documents
385
385
* @throws DataAccessException
386
386
*/
387
- MultiDocumentEntity <DocumentCreateEntity <?>> insertAll (Iterable <?> values , Class <? > entityClass )
387
+ < T > MultiDocumentEntity <DocumentCreateEntity <?>> insertAll (Iterable <? extends T > values , Class <T > entityClass )
388
388
throws DataAccessException ;
389
389
390
390
/**
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ public <T> MultiDocumentEntity<DocumentUpdateEntity<T>> updateAll(
368
368
@ Override
369
369
@ SuppressWarnings ({"rawtypes" , "unchecked" })
370
370
public <T > MultiDocumentEntity <DocumentUpdateEntity <?>> updateAll (
371
- final Iterable <T > values ,
371
+ final Iterable <? extends T > values ,
372
372
final Class <T > entityClass
373
373
) throws DataAccessException {
374
374
return updateAll (values , new DocumentUpdateOptions (), (Class ) entityClass );
@@ -513,7 +513,7 @@ public <T> MultiDocumentEntity<DocumentCreateEntity<T>> insertAll(
513
513
514
514
@ Override
515
515
@ SuppressWarnings ({"unchecked" , "rawtypes" })
516
- public MultiDocumentEntity <DocumentCreateEntity <?>> insertAll (Iterable <?> values , Class <? > entityClass ) throws DataAccessException {
516
+ public < T > MultiDocumentEntity <DocumentCreateEntity <?>&g
49E1
t; insertAll (Iterable <? extends T > values , Class <T > entityClass ) throws DataAccessException {
517
517
return insertAll (values , new DocumentCreateOptions (), (Class ) entityClass );
518
518
}
519
519
You can’t perform that action at this time.
0 commit comments