Skip to content

Commit 8009333

Browse files
committed
Remove no-arg overloads
1 parent 8b4d461 commit 8009333

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

src/main/java/io/reactivex/plugins/RxJavaPlugins.java

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -928,16 +928,6 @@ public static Completable onAssembly(Completable source) {
928928
return source;
929929
}
930930

931-
/**
932-
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#computation()}.
933-
* @return the created Scheduler instance
934-
* @since 2.0.5 - experimental
935-
*/
936-
@Experimental
937-
public static Scheduler newComputation() {
938-
return new ComputationScheduler();
939-
}
940-
941931
/**
942932
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#computation()}
943933
* except using {@code threadFactory} for thread creation.
@@ -951,16 +941,6 @@ public static Scheduler newComputation(ThreadFactory threadFactory) {
951941
return new ComputationScheduler(ObjectHelper.requireNonNull(threadFactory, "threadFactory is null"));
952942
}
953943

954-
/**
955-
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#io()}.
956-
* @return the created Scheduler instance
957-
* @since 2.0.5 - experimental
958-
*/
959-
@Experimental
960-
public static Scheduler newIo() {
961-
return new IoScheduler();
962-
}
963-
964944
/**
965945
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#io()}
966946
* except using {@code threadFactory} for thread creation.
@@ -974,16 +954,6 @@ public static Scheduler newIo(ThreadFactory threadFactory) {
974954
return new IoScheduler(ObjectHelper.requireNonNull(threadFactory, "threadFactory is null"));
975955
}
976956

977-
/**
978-
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#newThread()}.
979-
* @return the created Scheduler instance
980-
* @since 2.0.5 - experimental
981-
*/
982-
@Experimental
983-
public static Scheduler newNewThread() {
984-
return new NewThreadScheduler();
985-
}
986-
987957
/**
988958
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#newThread()}
989959
* except using {@code threadFactory} for thread creation.
@@ -997,16 +967,6 @@ public static Scheduler newNewThread(ThreadFactory threadFactory) {
997967
return new NewThreadScheduler(ObjectHelper.requireNonNull(threadFactory, "threadFactory is null"));
998968
}
999969

1000-
/**
1001-
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#single()}.
1002-
* @return the created Scheduler instance
1003-
* @since 2.0.5 - experimental
1004-
*/
1005-
@Experimental
1006-
public static Scheduler newSingle() {
1007-
return new SingleScheduler();
1008-
}
1009-
1010970
/**
1011971
* Create an instance of the default {@link Scheduler} used for {@link Schedulers#single()}
1012972
* except using {@code threadFactory} for thread creation.

0 commit comments

Comments
 (0)