aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit
diff options
context:
space:
mode:
authorLaura Hamelin <haowl@google.com>2024-10-21 15:59:43 -0700
committerLaura Hamelin <haowl@google.com>2024-10-21 16:06:19 -0700
commit6406793274876b973da2a7e1f1052e1edca1d4ef (patch)
treeb14b58d23441db55896145bd30711cf7c2add930 /org.eclipse.jgit
parentfe8919d107cbfbc52b84f9b8e9fe55668dfbebb1 (diff)
downloadjgit-6406793274876b973da2a7e1f1052e1edca1d4ef.tar.gz
jgit-6406793274876b973da2a7e1f1052e1edca1d4ef.zip
DfsBlockCacheConfig: update stream.toList to collect(toList)
This change updates usage of stream's list collector to support older jdk versions. Change-Id: Ia066d36aef8ab166efd837d5f6f01e5d1fdd3cb7
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfig.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfig.java
index 0d56689a67..acd7add5a9 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfig.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsBlockCacheConfig.java
@@ -581,7 +581,7 @@ public class DfsBlockCacheConfig {
void print(String linePrefix, String pad, PrintWriter writer) {
packExtCacheConfiguration.print(linePrefix, pad, writer);
writer.println(linePrefix + pad + "PackExts: "
- + packExts.stream().sorted().toList());
+ + packExts.stream().sorted().collect(Collectors.toList()));
}
}
}