You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by Henry Saputra <he...@gmail.com> on 2010/03/13 19:15:31 UTC
Replacing ContextStack with java.util.Stack
HI Guys,
Is there a reason why we need to use ContextStack that extends ArrayList<T>
to manage the Context instances?
Could we just replace it with Stack<Context> or use delegation to member
variable inside the ContextStack instead of extending ArrayList?
Delegation always preferable to inheritance I think.
- Henry