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

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Thu Dec 4 20:17:36 EST 2008


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


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