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
Files
org.apache.myfaces.commons.validator.AbstractDateRestrictionValidator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 295 | Low |
| Use of non-localized String.toUpperCase() or String.toLowerCase | I18N | DM_CONVERT_CASE | 279 | Low |
org.apache.myfaces.commons.validator.AbstractRegExprValidator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Redundant nullcheck of pattern, which is known to be non-null in org.apache.myfaces.commons.validator.AbstractRegExprValidator.validate(FacesContext, UIComponent, Object) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 78 | Low |
org.apache.myfaces.commons.validator.AbstractUrlValidator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Should org.apache.myfaces.commons.validator.AbstractUrlValidator.getSchemesList() return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 118 | Low |
org.apache.myfaces.commons.validator.DateRestrictionValidator
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidDaysOfWeek() may expose internal representation by returning DateRestrictionValidator._invalidDaysOfWeek | MALICIOUS_CODE | EI_EXPOSE_REP | 70 | Medium |
| org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidMonths() may expose internal representation by returning DateRestrictionValidator._invalidMonths | MALICIOUS_CODE | EI_EXPOSE_REP | 48 | Medium |
| org.apache.myfaces.commons.validator.DateRestrictionValidator.setInvalidDaysOfWeek(String[]) may expose internal representation by storing an externally mutable object into DateRestrictionValidator._invalidDaysOfWeek | MALICIOUS_CODE | EI_EXPOSE_REP2 | 82 | Medium |
| org.apache.myfaces.commons.validator.DateRestrictionValidator.setInvalidMonths(String[]) may expose internal representation by storing an externally mutable object into DateRestrictionValidator._invalidMonths | MALICIOUS_CODE | EI_EXPOSE_REP2 | 60 | Medium |
| Should org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidDaysOfWeek() return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 77 | Low |
| Should org.apache.myfaces.commons.validator.DateRestrictionValidator.getInvalidMonths() return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 55 | Low |