Skip to content

Commit 5b498f8

Browse files
Upgrade to MongoDB 4.4.0 Drivers.
Closes: #3875
1 parent f94a7ee commit 5b498f8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<project.type>multi</project.type>
2828
<dist.id>spring-data-mongodb</dist.id>
2929
<springdata.commons>2.6.0-SNAPSHOT</springdata.commons>
30-
<mongo>4.4.0-beta1</mongo>
30+
<mongo>4.4.0</mongo>
3131
<mongo.reactivestreams>${mongo}</mongo.reactivestreams>
3232
<jmh.version>1.19</jmh.version>
3333
</properties>

spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/MongoTemplateUnitTests.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2558,6 +2558,11 @@ public T next() {
25582558
return iterator.next();
25592559
}
25602560

2561+
@Override
2562+
public int available() {
2563+
return 1;
2564+
}
2565+
25612566
@Override
25622567
public T tryNext() {
25632568
if (iterator.hasNext()) {

0 commit comments

Comments
 (0)