Skip to content

Don't wrap Algorithm if already implements ScreenBasedAlgorithm #1

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

Conversation

jeffdgr8
Copy link

If an Algorithm reference is already a ScreenBasedAlgorithm, then it can be passed as is to setAlgorithm(ScreenBasedAlgorithm). Only if it is not already a ScreenBasedAlgorithm is it then wrapped with a ScreenBasedAlgorithmAdapter.

If an Algorithm reference is already a ScreenBasedAlgorithm, then it can
be passed as is to setAlgorithm(ScreenBasedAlgorithm). Only if it is not
already a ScreenBasedAlgorithm is it then wrapped with a
ScreenBasedAlgorithmAdapter.
@zamesilyasa zamesilyasa merged commit 42e8df3 into zamesilyasa:issue-82 Feb 3, 2017
@jeffdgr8 jeffdgr8 deleted the conditional-screen-based-algorithm-wrap branch June 26, 2018 04:19
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

Successfully merging this pull request may close these issues.

2 participants