SHARE
TWEET

Untitled

a guest May 19th, 2017 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     private void validate(BigDecimal determinedAmount,
  2.             BigDecimal recomendedAmount, Boolean recalculatedExcise,
  3.             RnCProperty rncProperty, String xPath) {
  4.         if (determinedAmount == null || recomendedAmount == null) {
  5.             return;
  6.         } else if (determinedAmount.compareTo(recomendedAmount) < 0
  7.                 && !recalculatedExcise) {
  8.             setConstraintError(rncProperty);
  9.         } else if (determinedAmount.compareTo(recomendedAmount) < 0
  10.                 && recalculatedExcise) {
  11.             setWarning(rncProperty);
  12.         }
  13.     }
RAW Paste Data
Want to get better at Java?
Learn to code Java in 2017
Top