Can anyone suggest an xpath PMD rule to warn that a method call equals() java.math.BigDecimalwill check both the value and the scale, which normally (if only for some applications like the application) cannot be an error. Since 1.0not equal 1.00, should be used compareTo.
source
share