Apache MyFaces
Documentation
Foundation

FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.0

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
74 7 0 0

Files

Class Bugs
org.apache.myfaces.commons.util.ExternalContextUtils 2
org.apache.myfaces.commons.util.MessageUtils 2
org.apache.myfaces.commons.util.TagUtils 3

org.apache.myfaces.commons.util.ExternalContextUtils

Bug Category Details Line
Exception is caught when Exception is not thrown in org.apache.myfaces.commons.util.ExternalContextUtils.getContentLength(ExternalContext) STYLE REC_CATCH_EXCEPTION 64
Exception is caught when Exception is not thrown in org.apache.myfaces.commons.util.ExternalContextUtils.getRequestInputStream(ExternalContext) STYLE REC_CATCH_EXCEPTION 94

org.apache.myfaces.commons.util.MessageUtils

Bug Category Details Line
Load of known null value in org.apache.myfaces.commons.util.MessageUtils.getMessage(FacesContext, String, Object[]) STYLE NP_LOAD_OF_KNOWN_NULL_VALUE 374
Redundant nullcheck of message, which is known to be non-null in org.apache.myfaces.commons.util.MessageUtils.getMessage(FacesContext, String, Object[]) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 376

org.apache.myfaces.commons.util.TagUtils

Bug Category Details Line
Should org.apache.myfaces.commons.util.TagUtils.getStringArray(Object) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 177
Should org.apache.myfaces.commons.util.TagUtils.getTokensArray(String) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 253
Should org.apache.myfaces.commons.util.TagUtils.parseNameTokens(String) return a zero length array rather than null? STYLE PZLA_PREFER_ZERO_LENGTH_ARRAYS 289