Apache MyFaces
Documentation
Foundation

FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is low

Effort is min

Summary

ClassesBugsErrorsMissing Classes
14600

org.apache.myfaces.commons.exporter.ExporterActionListener

BugCategoryDetailsLinePriority
instanceof will always return true in org.apache.myfaces.commons.exporter.ExporterActionListener.processAction(ActionEvent), since all javax.faces.component.html.HtmlDataTable are instances of javax.faces.component.html.HtmlDataTableSTYLEBC_VACUOUS_INSTANCEOF88Medium
Method org.apache.myfaces.commons.exporter.ExporterActionListener.processAction(ActionEvent) does an unnecessary type check using instanceof operator when it can be determined staticallyCORRECTNESSSIO_SUPERFLUOUS_INSTANCEOF88Low

org.apache.myfaces.commons.exporter.FaceletsExporterActionListenerTag

BugCategoryDetailsLinePriority
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to javax.faces.component.ActionSource in org.apache.myfaces.commons.exporter.FaceletsExporterActionListenerTag.apply(FaceletContext, UIComponent)STYLEBC_UNCONFIRMED_CAST69Medium

org.apache.myfaces.commons.exporter.util.ExcelExporterUtil

BugCategoryDetailsLinePriority
Method org.apache.myfaces.commons.exporter.util.ExcelExporterUtil.generateTableContent(FacesContext, HSSFSheet, List, HtmlDataTable) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION145Medium

org.apache.myfaces.commons.exporter.util.PDFExporterUtil

BugCategoryDetailsLinePriority
Method org.apache.myfaces.commons.exporter.util.PDFExporterUtil.generateTableContent(FacesContext, PdfPTable, List, HtmlDataTable) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION114Medium

org.apache.myfaces.commons.renderOne.UIRenderOne

BugCategoryDetailsLinePriority
Redundant nullcheck of vb, which is known to be non-null in org.apache.myfaces.commons.renderOne.UIRenderOne.getValue()STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE83Medium