}
final DecimalTypeDefinition other = castIfEquals(DecimalTypeDefinition.class, type, obj);
- return other != null && type.getFractionDigits().equals(other.getFractionDigits())
+ return other != null && type.getFractionDigits() == other.getFractionDigits()
&& type.getRangeConstraint().equals(other.getRangeConstraint());
}