Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduler #810

Closed
headinthebox opened this issue Feb 5, 2014 · 3 comments
Closed

Scheduler #810

headinthebox opened this issue Feb 5, 2014 · 3 comments

Comments

@headinthebox
Copy link
Contributor

Any reason public class Schedulers {...} has no static TestScheduler factory?

@benjchristensen
Copy link
Member

No significant reason. Probably because all other schedulers just return the interface but that one you want the concrete instance.

@headinthebox
Copy link
Contributor Author

It feels a bit inconsistent; nothing prevents this one to return a value of type TestScheduler instead of Scheduler.

@benjchristensen
Copy link
Member

This now exists:

public static TestScheduler test()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants