[
https://issues.apache.org/jira/browse/WICKET-3805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13053235#comment-13053235
]
Pedro Santos commented on WICKET-3805:
--------------------------------------
Both are good options. I prefer relax the visitor since one may want to visit
parents of some interface.
> Change Component#visitParents to enable visitors of any type
> ------------------------------------------------------------
>
> Key: WICKET-3805
> URL: https://issues.apache.org/jira/browse/WICKET-3805
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-core
> Affects Versions: 1.5-RC4
> Reporter: Pedro Santos
> Priority: Minor
>
> The generic type of c accepts any type, but the one in IVisitor restrict it
> to Components.
> Comonent#visitParents(final Class<?> c, final IVisitor<Component, R> visitor)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira