gradebookng/tool/src/java/org/sakaiproject/gradebookng/tool/panels/importExport/GradeItemImportSelectionStep.java
private List<ProcessedGradeItem> filterListByStatus(final List<ProcessedGradeItem> itemList, final Status... statuses) {
		final List<Status> statusList = Arrays.asList(statuses);
		final List<ProcessedGradeItem> filteredList = itemList.stream().filter(item -> statusList.contains(item.getStatus())).collect(Collectors.toList());
		return filteredList;
	}
/**
	 * Filter the list of items by the given statuses
	 * @param itemList
	 * @param statuses
	 * @return
	 */
Filter the list of items by the given statuses
@param itemList
@param statuses
@return
Filter the list of items by the given statuses @param itemList @param statuses @return
private List<ProcessedGradeItem> filterListByStatus(final List<ProcessedGradeItem> itemList, final Status... statuses) {
		final List<Status> statusList = Arrays.asList(statuses);
		final List<ProcessedGradeItem> filteredList = itemList.stream().filter(item -> statusList.contains(item.getStatus())).collect(Collectors.toList());
		return filteredList;
	}
private List < ProcessedGradeItem > filterListByStatus ( final List < ProcessedGradeItem > itemList , final Status ... statuses ) { final List < Status > statusList = Arrays . asList ( statuses ) ; final List < ProcessedGradeItem > filteredList = itemList . stream ( ) . filter ( item -> statusList . contains ( item . getStatus ( ) ) ) . collect ( Collectors . toList ( ) ) ; return filteredList ; }
Filter the list of items by the given statuses
 @param itemList
 @param statuses
 @return
Filter the list of items by the given statuses @param itemList @param statuses @return