Apache Commons logo Commons Lang

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
275 7 0 0

org.apache.commons.lang3.StringUtils

Bug Category Details Line Priority
Comparison of String parameter using == or != in org.apache.commons.lang3.StringUtils.compare(String, String, boolean) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 1033 High
Comparison of String parameter using == or != in org.apache.commons.lang3.StringUtils.compareIgnoreCase(String, String, boolean) BAD_PRACTICE ES_COMPARING_PARAMETER_STRING_WITH_EQ 1126 High

org.apache.commons.lang3.time.CalendarReflection

Bug Category Details Line Priority
Switch statement found in org.apache.commons.lang3.time.CalendarReflection.getWeekYear(Calendar) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 84-92 Medium

org.apache.commons.lang3.time.FastDateParser

Bug Category Details Line Priority
Switch statement found in org.apache.commons.lang3.time.FastDateParser.simpleQuote(StringBuilder, String) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 439-452 Medium

org.apache.commons.lang3.time.FastDateParser$TimeZoneStrategy

Bug Category Details Line Priority
Switch statement found in new org.apache.commons.lang3.time.FastDateParser$TimeZoneStrategy(Calendar, Locale) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 863-869 Medium

org.apache.commons.lang3.time.FastDatePrinter

Bug Category Details Line Priority
Switch statement found in org.apache.commons.lang3.time.FastDatePrinter.appendFullDigits(Appendable, int, int) where one case falls through to the next case STYLE SF_SWITCH_FALLTHROUGH 710-712 Medium
Switch statement found in org.apache.commons.lang3.time.FastDatePrinter.appendFullDigits(Appendable, int, int) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 707-726 Medium