Component#visitParents expects Component as the type to be visited, IMO should expect the same type of the first parameter.
On Tue, Mar 29, 2011 at 5:22 AM, nino martinez wael < [email protected]> wrote: > why is this not valid? > > message.getReporter().visitParents(Form.class, new > IVisitor<Form, Void>() { > @Override > public void component(Form object, IVisit<Void> > visit) { > // TODO Auto-generated method stub > > } > }); > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Pedro Henrique Oliveira dos Santos
