View by Classes

Findings - Overview

warning Comparator method doesn't seem to return all ordering values (Findbugs)

Comparator method org.jcoderz.guidelines.snippets.SampleSnippets$IndentionSample.compareTo(Object) doesn't seem to return all ordering values

Further info on the wiki.

This compareTo or compare method returns constant values for to represent less than, equals and greater than. However it does not return each type. Given that comparators are transitive, this seems incorrect.

1org.jcoderz.guidelines.snippets.SampleSnippets
 [364]