aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ru
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/ru')
-rw-r--r--src/main/java/ru/sape/SapePageLinks.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ru/sape/SapePageLinks.java b/src/main/java/ru/sape/SapePageLinks.java
index 2bd5464e..c9eeeb6f 100644
--- a/src/main/java/ru/sape/SapePageLinks.java
+++ b/src/main/java/ru/sape/SapePageLinks.java
@@ -43,7 +43,7 @@ public class SapePageLinks {
pageLinks = Collections.singletonList(site.code());
} else {
pageLinks = site.pages().stream().filter(page -> page.uri().equals(req))
- .flatMap(page -> page.links().stream()).collect(Collectors.toList());
+ .flatMap(page -> page.links().stream()).toList();
}
}