Skip to content

Commit cf8ed4e

Browse files
MockQuery: update signature of SubscriptionBuilder constructor.
1 parent a9b0af5 commit cf8ed4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

objectbox-rxjava3/src/test/java/io/objectbox/query/MockQuery.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ public MockQuery(boolean hasOrder) {
4040
//noinspection unchecked It's a unit test, casting is fine.
4141
query = (Query<T>) mock(Query.class);
4242
fakeQueryPublisher = new FakeQueryPublisher<>();
43-
//noinspection ConstantConditions ExecutorService only used for transforms.
4443
SubscriptionBuilder<List<T>> subscriptionBuilder = new SubscriptionBuilder<>(
45-
fakeQueryPublisher, null, null);
44+
fakeQueryPublisher, null);
4645
when(query.subscribe()).thenReturn(subscriptionBuilder);
4746
}
4847

0 commit comments

Comments
 (0)