@@ -617,7 +617,7 @@ public <T> Mono<T> findById(Object id, Class<T> entityClass, String collectionNa
617
617
return doFindOne (collectionName , new Document (idKey , id ), null , entityClass );
618
618
}
619
619
620
- /*
620
+ /*
621
621
* (non-Javadoc)
622
622
* @see org.springframework.data.mongodb.core.ReactiveMongoOperations#geoNear(org.springframework.data.mongodb.core.query.NearQuery, java.lang.Class)
623
623
*/
@@ -626,7 +626,7 @@ public <T> Flux<GeoResult<T>> geoNear(NearQuery near, Class<T> entityClass) {
626
626
return geoNear (near , entityClass , determineCollectionName (entityClass ));
627
627
}
628
628
629
- /*
629
+ /*
630
630
* (non-Javadoc)
631
631
* @see org.springframework.data.mongodb.core.ReactiveMongoOperations#geoNear(org.springframework.data.mongodb.core.query.NearQuery, java.lang.Class, java.lang.String)
632
632
*/
@@ -769,15 +769,15 @@ public <T> Mono<T> insert(Mono<? extends T> objectToSave) {
769
769
* @see org.springframework.data.mongodb.core.ReactiveMongoOperations#insert(org.reactivestreams.Publisher, java.lang.Class)
770
770
*/
771
771
@ Override
772
- public <T > Flux <T > insertAll (Mono <Collection <? extends T >> batchToSave , Class <?> entityClass ) {
772
+ public <T > Flux <T > insertAll (Mono <? extends Collection <? extends T >> batchToSave , Class <?> entityClass ) {
773
773
return insertAll (batchToSave , determineCollectionName (entityClass ));
774
774
}
775
775
776
776
/* (non-Javadoc)
777
777
* @see org.springframework.data.mongodb.core.ReactiveMongoOperations#insert(org.reactivestreams.Publisher, java.lang.String)
778
778
*/
779
779
@ Override
780
- public <T > Flux <T > insertAll (Mono <Collection <? extends T >> batchToSave , String collectionName ) {
780
+ public <T > Flux <T > insertAll (Mono <? extends Collection <? extends T >> batchToSave , String collectionName ) {
781
781
return Flux .from (batchToSave ).flatMap (collection -> insert (collection , collectionName ));
782
782
}
783
783
@@ -847,7 +847,7 @@ public <T> Flux<T> insertAll(Collection<? extends T> objectsToSave) {
847
847
* @see org.springframework.data.mongodb.core.ReactiveMongoOperations#insertAll(org.reactivestreams.Publisher)
848
848
*/
849
849
@ Override
850
- public <T > Flux <T > insertAll (Mono <Collection <? extends T >> objectsToSave ) {
850
+ public <T > Flux <T > insertAll (Mono <? extends Collection <? extends T >> objectsToSave ) {
851
851
return Flux .from (objectsToSave ).flatMap (this ::insertAll );
852
852
}
853
853
0 commit comments