Skip to content

Commit 1b07da7

Browse files
committed
Had to make Schedulers.start public otherwise this wouldn't work
1 parent a813457 commit 1b07da7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/java/rx/schedulers/Schedulers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public static void reset() {
178178
* Starts those standard Schedulers which support the SchedulerLifecycle interface.
179179
* <p>The operation is idempotent and threadsafe.
180180
*/
181-
/* public test only */ static void start() {
181+
public static void start() {
182182
Schedulers s = getInstance();
183183

184184
s.startInstance();

src/test/java/rx/schedulers/GenericScheduledExecutorServiceTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public ScheduledExecutorService call() {
2626
});
2727

2828
Schedulers.shutdown();
29-
// start() is package private so had to move this test here
3029
Schedulers.start();
3130

3231
Assert.assertSame(exec, GenericScheduledExecutorService.getInstance());

0 commit comments

Comments
 (0)