private void organizeClassViewsNext(HttpServletRequest request, List classViews, InfoExecutionPeriod previousExecutionPeriod) {  Table classViewsTableCurrent = new Table(5); Table classViewsTablePrevious = new Table(5);  for (Iterator iterator = classViews.iterator(); iterator.hasNext();) { ClassView classView = (ClassView) iterator.next();  if (previousExecutionPeriod != null && classView.getExecutionPeriodOID().equals(previousExecutionPeriod.getIdInternal())) { classViewsTablePrevious.appendToColumn(classView.getCurricularYear().intValue() - 1, classView); } else { classViewsTableCurrent.appendToColumn(classView.getCurricularYear().intValue() - 1, classView); } }  request.setAttribute("classViewsTableCurrent", classViewsTableCurrent); request.setAttribute("classViewsTableNext", classViewsTablePrevious);
private void organizeClassViewsNext(final HttpServletRequest request, final IDegree degree, final IExecutionPeriod executionPeriod, final IExecutionPeriod otherExecutionPeriodToShow) { request.setAttribute("classViewsTableCurrent", organizeClassViews(degree, executionPeriod)); request.setAttribute("classViewsTableNext", organizeClassViews(degree, otherExecutionPeriodToShow));
    private void organizeClassViewsNext(HttpServletRequest request, List classViews,            InfoExecutionPeriod previousExecutionPeriod) {        Table classViewsTableCurrent = new Table(5);        Table classViewsTablePrevious = new Table(5);        for (Iterator iterator = classViews.iterator(); iterator.hasNext();) {            ClassView classView = (ClassView) iterator.next();            if (previousExecutionPeriod != null && classView.getExecutionPeriodOID().equals(previousExecutionPeriod.getIdInternal())) {                classViewsTablePrevious.appendToColumn(classView.getCurricularYear().intValue() - 1,                        classView);            } else {                classViewsTableCurrent.appendToColumn(classView.getCurricularYear().intValue() - 1,                        classView);            }        }        request.setAttribute("classViewsTableCurrent", classViewsTableCurrent);        request.setAttribute("classViewsTableNext", classViewsTablePrevious);    }