private List collectPaymentPhases(DynaValidatorForm gratuityForm) {
private List<InfoPaymentPhase> collectPaymentPhases(DynaValidatorForm gratuityForm) {
    private List collectPaymentPhases(DynaValidatorForm gratuityForm) {        String[] paymentPhases = (String[]) gratuityForm.get("paymentPhases");        List infoPaymentPhases = new ArrayList();        for (int i = 0; i < paymentPhases.length; i = i + 3) {            fillPaymentPhasesList(paymentPhases[i], paymentPhases[i + 1], paymentPhases[i + 2],                    infoPaymentPhases);        }        return infoPaymentPhases;    }