Skip to content

Commit

Permalink
Downport to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
buchen committed Jan 11, 2023
1 parent 0913bad commit a176088
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ private void setResults(List<ExtractedEntry> entries, List<Exception> errors)

// additionally add the non-importable items as extraction errors
extractionErrors.addAll(entries.stream().filter(e -> e.getItem() instanceof NonImportableItem)
.map(e -> new IOException(e.getItem().getTypeInformation())).toList());
.map(e -> new IOException(e.getItem().getTypeInformation())).collect(Collectors.toList()));

extractionErrors.addAll(errors);
errorTableViewer.setInput(extractionErrors);
Expand Down

0 comments on commit a176088

Please sign in to comment.