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

Create an EvvoIslandWrapper abstract class to reduce code repetition #112

Open
julian-zucker opened this issue Jun 29, 2019 · 0 comments
Open
Labels
good first issue Good issue for new contributors refactor

Comments

@julian-zucker
Copy link
Member

Describe the refactor you'd like.
A class EvvoIslandWrapper that just has a component island, passed in the constructor, and extends EvolutionaryProcess by passing method calls to the component.

Why should the refactor happen?
Local and Remote evvo island both have to duplicate the code that delegates the common methods to EvvoIsland. If they both extended EvvoIslandWrapper, that code would only have to be written once, and the purpose of Local and Remote EvvoIsland (the difference in constructors/creation of islands) would become apparent.

Additional context
Add any other context or discussion about the refactor here.

@julian-zucker julian-zucker added the good first issue Good issue for new contributors label Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good issue for new contributors refactor
Projects
None yet
Development

No branches or pull requests

1 participant