Skip to content

Commit

Permalink
Upgrade to RxJava 3.0.0-RC8
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd committed Jan 20, 2020
1 parent 49818b7 commit d37085f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RxJava 3.x implementation of extra sources, operators and components and ports o

```
dependencies {
compile "com.github.akarnokd:rxjava3-extensions:3.0.0-RC7"
compile "com.github.akarnokd:rxjava3-extensions:3.0.0-RC8"
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies {
signature 'org.codehaus.mojo.signature:java18:1.0@signature'

compile "org.reactivestreams:reactive-streams:1.0.3"
compile "io.reactivex.rxjava3:rxjava:3.0.0-RC7"
compile "io.reactivex.rxjava3:rxjava:3.0.0-RC8"

testCompile group: 'junit', name: 'junit', version: '4.13'

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GROUP=com.github.akarnokd
VERSION_NAME=3.0.0-RC7
version=3.0.0-RC7
VERSION_NAME=3.0.0-RC8
version=3.0.0-RC8

POM_ARTIFACT_ID=rxjava3-extensions
POM_NAME=RxJava 3 extra sources, operators and components
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/hu/akarnokd/rxjava3/operators/Flowables.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private Flowables() {
@SchedulerSupport(SchedulerSupport.NONE)
@SafeVarargs
public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(Publisher<T>... sources) {
return orderedMerge(Functions.naturalOrder(), false, Flowable.bufferSize(), sources);
return orderedMerge(Comparator.naturalOrder(), false, Flowable.bufferSize(), sources);
}

/**
Expand All @@ -68,7 +68,7 @@ public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(Publish
@SchedulerSupport(SchedulerSupport.NONE)
@SafeVarargs
public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(boolean delayErrors, Publisher<T>... sources) {
return orderedMerge(Functions.naturalOrder(), delayErrors, Flowable.bufferSize(), sources);
return orderedMerge(Comparator.naturalOrder(), delayErrors, Flowable.bufferSize(), sources);
}

/**
Expand All @@ -87,7 +87,7 @@ public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(boolean
@SchedulerSupport(SchedulerSupport.NONE)
@SafeVarargs
public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(boolean delayErrors, int prefetch, Publisher<T>... sources) {
return orderedMerge(Functions.naturalOrder(), delayErrors, prefetch, sources);
return orderedMerge(Comparator.naturalOrder(), delayErrors, prefetch, sources);
}

/**
Expand Down Expand Up @@ -221,7 +221,7 @@ public static <T> Flowable<T> orderedMerge(Iterable<? extends Publisher<T>> sour
@BackpressureSupport(BackpressureKind.FULL)
@SchedulerSupport(SchedulerSupport.NONE)
public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(Iterable<? extends Publisher<T>> sources) {
return orderedMerge(sources, Functions.naturalOrder(), false, Flowable.bufferSize());
return orderedMerge(sources, Comparator.naturalOrder(), false, Flowable.bufferSize());
}

/**
Expand All @@ -237,7 +237,7 @@ public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(Iterabl
@BackpressureSupport(BackpressureKind.FULL)
@SchedulerSupport(SchedulerSupport.NONE)
public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(Iterable<? extends Publisher<T>> sources, boolean delayErrors) {
return orderedMerge(sources, Functions.naturalOrder(), delayErrors, Flowable.bufferSize());
return orderedMerge(sources, Comparator.naturalOrder(), delayErrors, Flowable.bufferSize());
}

/**
Expand All @@ -255,7 +255,7 @@ public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(Iterabl
@BackpressureSupport(BackpressureKind.FULL)
@SchedulerSupport(SchedulerSupport.NONE)
public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(Iterable<? extends Publisher<T>> sources, boolean delayErrors, int prefetch) {
return orderedMerge(sources, Functions.naturalOrder(), delayErrors, prefetch);
return orderedMerge(sources, Comparator.naturalOrder(), delayErrors, prefetch);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private ParallelTransformers() {
* @since 0.17.9
*/
public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(ParallelFlowable<T> source) {
return orderedMerge(source, Functions.naturalOrder(), false, Flowable.bufferSize());
return orderedMerge(source, Comparator.naturalOrder(), false, Flowable.bufferSize());
}

/**
Expand All @@ -55,7 +55,7 @@ public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(Paralle
* @since 0.17.9
*/
public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(ParallelFlowable<T> source, boolean delayErrors) {
return orderedMerge(source, Functions.naturalOrder(), delayErrors, Flowable.bufferSize());
return orderedMerge(source, Comparator.naturalOrder(), delayErrors, Flowable.bufferSize());
}

/**
Expand All @@ -70,7 +70,7 @@ public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(Paralle
* @since 0.17.9
*/
public static <T extends Comparable<? super T>> Flowable<T> orderedMerge(ParallelFlowable<T> source, boolean delayErrors, int prefetch) {
return orderedMerge(source, Functions.naturalOrder(), delayErrors, prefetch);
return orderedMerge(source, Comparator.naturalOrder(), delayErrors, prefetch);
}

/**
Expand Down

0 comments on commit d37085f

Please sign in to comment.