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
260 8 0 0

org.apache.commons.lang3.SerializationUtils

Bug Category Details Line Priority
org.apache.commons.lang3.SerializationUtils.deserialize(InputStream) might ignore java.io.IOException BAD_PRACTICE DE_MIGHT_IGNORE 235 Medium

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 437-450 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(Locale) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 860-866 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 717-719 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 714-733 Medium