[
https://issues.apache.org/jira/browse/WICKET-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Király updated WICKET-3502:
----------------------------------
Attachment: fix-WICKET-3502.patch
Attaching suggested patch.
> Modify o.a.w.Component.send method signature to exactly match the one defined
> in superinterface
> -----------------------------------------------------------------------------------------------
>
> Key: WICKET-3502
> URL: https://issues.apache.org/jira/browse/WICKET-3502
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-core
> Affects Versions: 1.5-RC2
> Environment: Eclipse 3.6.2
> Reporter: Attila Király
> Priority: Trivial
> Attachments: fix-WICKET-3502.patch
>
>
> Current signature in Component:
> public final void send(IEventSink sink, Broadcast type, Object payload)
> This is an implementation of o.a.w.event.IEventSource.send:
> <T> void send(IEventSink sink, Broadcast broadcast, T payload)
> These are the same at runtime but the difference cause minor annoyance for
> Eclipse users. For example when creating a new page and defining the WebPage
> superclass in the wizard, Eclipse will generate a new class with a send
> method stub which has to be deleted by hand. Exact signatures fix this.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira