[richfaces-planning-issues] [JBoss JIRA] (RFPL-1876) Delegate UIDataAdaptor#processEvent(ComponentSystemEvent) to #processEvent(SystemEvent)

Lukáš Fryč (Deleted) (JIRA) jira-events at lists.jboss.org
Wed Nov 30 07:45:40 EST 2011


     [ https://issues.jboss.org/browse/RFPL-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč deleted RFPL-1876:
-----------------------------

    
> Delegate UIDataAdaptor#processEvent(ComponentSystemEvent) to #processEvent(SystemEvent)
> ---------------------------------------------------------------------------------------
>
>                 Key: RFPL-1876
>                 URL: https://issues.jboss.org/browse/RFPL-1876
>             Project: RichFaces Planning
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Fisheye JIRA Integration
>
> Created by Lukáš Fryč from Crucible comment on UIDataAdaptor.java line 1438 https://source.jboss.org/cru/REV-RF-5#c170 :
> Note that this {{processEvent(SystemEvent)}} method has same signature as {{processEvent(ComponentSystemEvent)}} method above.
> Both needs to implemented in order to implement interfaces, but since {{ComponentSystemEvent}} class extends {{SystemEvent}},
> it may be safer to delegate from {{processEvent(ComponentSystemEvent)}} to {{processEvent(SystemEvent)}}
> and then check for identity of event ({{event instanceof ComponentSystemEvent}}), otherwise, some JDK may fail to call correct method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-planning-issues mailing list