From a176088f13fa43734901171a2ce50240e36959ad Mon Sep 17 00:00:00 2001 From: Andreas Buchen Date: Wed, 11 Jan 2023 21:24:24 +0100 Subject: [PATCH] Downport to Java 11 --- .../ui/wizards/datatransfer/ReviewExtractedItemsPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java b/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java index e208b69a4f..9463eaea20 100644 --- a/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java +++ b/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ReviewExtractedItemsPage.java @@ -744,7 +744,7 @@ private void setResults(List entries, List 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);