Apache Commons logo Commons Lang

FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.0

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
221 10 0 0

org.apache.commons.lang3.time.DurationFormatUtils

Bug Category Details Line Priority
Comparison of String objects using == or != in org.apache.commons.lang3.time.DurationFormatUtils.format(DurationFormatUtils$Token[], long, long, long, long, long, long, long, boolean) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 445 Medium
Comparison of String objects using == or != in org.apache.commons.lang3.time.DurationFormatUtils.format(DurationFormatUtils$Token[], long, long, long, long, long, long, long, boolean) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 439 Medium
Comparison of String objects using == or != in org.apache.commons.lang3.time.DurationFormatUtils.format(DurationFormatUtils$Token[], long, long, long, long, long, long, long, boolean) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 454 Medium
Comparison of String objects using == or != in org.apache.commons.lang3.time.DurationFormatUtils.format(DurationFormatUtils$Token[], long, long, long, long, long, long, long, boolean) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 442 Medium
Comparison of String objects using == or != in org.apache.commons.lang3.time.DurationFormatUtils.format(DurationFormatUtils$Token[], long, long, long, long, long, long, long, boolean) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 448 Medium
Comparison of String objects using == or != in org.apache.commons.lang3.time.DurationFormatUtils.format(DurationFormatUtils$Token[], long, long, long, long, long, long, long, boolean) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 451 Medium
Comparison of String objects using == or != in org.apache.commons.lang3.time.DurationFormatUtils.format(DurationFormatUtils$Token[], long, long, long, long, long, long, long, boolean) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 436 Medium
Comparison of String objects using == or != in org.apache.commons.lang3.time.DurationFormatUtils.lexx(String) BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 554 Medium

org.apache.commons.lang3.time.FormatCache$MultipartKey

Bug Category Details Line Priority
Equals method for org.apache.commons.lang3.time.FormatCache$MultipartKey assumes the argument is of type FormatCache$MultipartKey BAD_PRACTICE BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS 245 Medium
org.apache.commons.lang3.time.FormatCache$MultipartKey.equals(Object) does not check for null argument BAD_PRACTICE NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT 245 Medium