[jbossseam-issues] [JBoss JIRA] Assigned: (JBSEAM-3788) Useless conditional in UIDocument.processHeaders

Norman Richards (JIRA) jira-events at lists.jboss.org
Wed Dec 10 17:48:36 EST 2008


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

Norman Richards reassigned JBSEAM-3788:
---------------------------------------

    Assignee: Norman Richards


> Useless conditional in UIDocument.processHeaders
> ------------------------------------------------
>
>                 Key: JBSEAM-3788
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3788
>             Project: Seam
>          Issue Type: Bug
>            Reporter: Francisco Jose Peredo Noguez
>            Assignee: Norman Richards
>             Fix For: 2.1.2.CR1
>
>         Attachments: patch.txt
>
>
> instanceof will always return true in org.jboss.seam.pdf.ui.UIDocument.processHeaders(), since all javax.faces.component.UIComponent are instances of javax.faces.component.UIComponent
> what is the point of if (facet instanceof UIComponent) if  getFacet("header") always returns a UIComponent?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list