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
331000

org.apache.myfaces.commons.validator.AbstractDateRestrictionValidator

BugCategoryDetailsLinePriority
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE295Low
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE279Low

org.apache.myfaces.commons.validator.AbstractRegExprValidator

BugCategoryDetailsLinePriority
Redundant nullcheck of pattern, which is known to be non-null in org.apache.myfaces.commons.validator.AbstractRegExprValidator.validate(FacesContext, UIComponent, Object)STYLERCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE78Low

org.apache.myfaces.commons.validator.AbstractUrlValidator

BugCategoryDetailsLinePriority
Should org.apache.myfaces.commons.validator.AbstractUrlValidator.getSchemesList() return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS118Low

org.apache.myfaces.commons.validator.DateRestrictionValidator

BugCategoryDetailsLinePriority
org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidDaysOfWeek() may expose internal representation by returning DateRestrictionValidator._invalidDaysOfWeekMALICIOUS_CODEEI_EXPOSE_REP70Medium
org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidMonths() may expose internal representation by returning DateRestrictionValidator._invalidMonthsMALICIOUS_CODEEI_EXPOSE_REP48Medium
org.apache.myfaces.commons.validator.DateRestrictionValidator.setInvalidDaysOfWeek(String[]) may expose internal representation by storing an externally mutable object into DateRestrictionValidator._invalidDaysOfWeekMALICIOUS_CODEEI_EXPOSE_REP282Medium
org.apache.myfaces.commons.validator.DateRestrictionValidator.setInvalidMonths(String[]) may expose internal representation by storing an externally mutable object into DateRestrictionValidator._invalidMonthsMALICIOUS_CODEEI_EXPOSE_REP260Medium
Should org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidDaysOfWeek() return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS77Low
Should org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidMonths() return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS55Low