Class BigDecimalEquals

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.BigDecimalEquals
All Implemented Interfaces:
BugChecker.MethodInvocationTreeMatcher, Suppressible, Serializable

public final class BigDecimalEquals
extends BugChecker
implements BugChecker.MethodInvocationTreeMatcher
Matches use of BigDecimal#equals, which compares scale as well (which is not likely to be intended).
Author:
ghm@google.com (Graeme Morgan)
See Also:
Serialized Form