
errorprone.bugpattern.SelfComparison.md Maven / Gradle / Ivy
The newest version!
The arguments to compareTo method are the same object, so it always returns 0.
Either change the arguments to point to different objects or substitute 0.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy