question: public void calculateQuantityToSupply ( BigDecimal reorderQuantity , BigDecimal minimumStock , ListIterator < GenericValue > listIterIEP ) { if ( quantity . compareTo ( reorderQuantity ) < 0 ) { quantity = reorderQuantity ; } }
target:  calculate the ProposedOrder quantity and update the quantity property. Read the first ProductFacility.reorderQuantity and calculate the quantity : if (quantity < reorderQuantity) quantity = reorderQuantity;