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

Make Task::copyTo not abstract #31

Closed
vlaaad opened this issue Mar 13, 2015 · 1 comment
Closed

Make Task::copyTo not abstract #31

vlaaad opened this issue Mar 13, 2015 · 1 comment

Comments

@vlaaad
Copy link

vlaaad commented Mar 13, 2015

This is clearly annoying to have to override method if it wont be used.

@davebaol
Copy link
Member

Yes but with a void implementation you will likely forget to implement it, which can be somewhat hard to debug.
If the abstract copyTo is so annoying for you, just create a concrete MyLeafTask class that extends LeafTask and use it as the superclass of all your leaf nodes. 😉

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