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

Updated DynamicComposite to override super's addComponent methods #597

merged 1 commit into from Mar 14, 2013


None yet
2 participants

thrykol commented Mar 14, 2013

In order to use chaining when adding components to a DynamicComposite, the resulting object currently has to be cast as a DynamicComposite as the return type for addComponent is AbstractComposite.

I've updated DynamicComposite to override each addComponent method in AbstractComposite so that the DynamicComposite object can be returned.


This comment has been minimized.


zznate commented Mar 14, 2013

Nice. Thanks!

zznate added a commit that referenced this pull request Mar 14, 2013

Merge pull request #597 from hector-client/dynamiccomposite
Updated DynamicComposite to override super's addComponent methods

@zznate zznate merged commit 3e25279 into master Mar 14, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment