[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3788) Useless conditional in UIDocument.processHeaders
Francisco Jose Peredo Noguez (JIRA)
jira-events at lists.jboss.org
Fri Dec 5 19:56:36 EST 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-3788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francisco Jose Peredo Noguez updated JBSEAM-3788:
-------------------------------------------------
Attachment: patch.txt
> 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
> 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