Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void validate(BigDecimal determinedAmount,
- BigDecimal recomendedAmount, Boolean recalculatedExcise,
- RnCProperty rncProperty, String xPath) {
- if (determinedAmount == null || recomendedAmount == null) {
- return;
- } else if (determinedAmount.compareTo(recomendedAmount) < 0
- && !recalculatedExcise) {
- setConstraintError(rncProperty);
- } else if (determinedAmount.compareTo(recomendedAmount) < 0
- && recalculatedExcise) {
- setWarning(rncProperty);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement