Double totalPercentage = null;
    public Double getTotalPercentage() {        Double totalPercentage = null;        Integer totalCapacity = new Integer(0);        Integer students = new Integer(0);        Iterator iterator = this.shiftsInGroup.iterator();        while (iterator.hasNext()) {            InfoShift infoShift = (InfoShift) iterator.next();            totalCapacity = new Integer(totalCapacity.intValue() + infoShift.getLotacao().intValue());            students = new Integer(students.intValue() + infoShift.getOcupation().intValue());        }        totalPercentage = NumberUtils.formatNumber(new Double(students.floatValue() * 100                / totalCapacity.floatValue()), 1);        return totalPercentage;    }