SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.7.3

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
12 3 0 0

Files

Class Bugs
net.avcompris.commons3.yaml.YamlReader 2
net.avcompris.commons3.yaml.YamlReader$Token 1

net.avcompris.commons3.yaml.YamlReader

Bug Category Details Line Priority
Bad comparison of nonnegative value with -1 in net.avcompris.commons3.yaml.YamlReader.read() CORRECTNESS INT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE 62 High
Useless condition: it's known that c != '\r' at this point STYLE UC_USELESS_CONDITION 298 High

net.avcompris.commons3.yaml.YamlReader$Token

Bug Category Details Line Priority
Method net.avcompris.commons3.yaml.YamlReader$Token.equals(Object) overrides the nullness annotation of parameter o in an incompatible way STYLE NP_METHOD_PARAMETER_TIGHTENS_ANNOTATION 179-184 Medium