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