mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
(qs, WIP) Tidy it up a bit
This commit is contained in:
parent
cd1a18c045
commit
eda926767e
@ -10,11 +10,11 @@ class QWordPathsRenderer {
|
||||
private final Set<QWordPath> paths;
|
||||
|
||||
private QWordPathsRenderer(Collection<QWordPath> paths) {
|
||||
this.paths = Collections.unmodifiableSet(new HashSet<>(paths));
|
||||
this.paths = Set.copyOf(paths);
|
||||
}
|
||||
|
||||
private QWordPathsRenderer(QWordGraph graph) {
|
||||
this.paths = Collections.unmodifiableSet(QWordGraphPathLister.listPaths(graph));
|
||||
this.paths = Set.copyOf(QWordGraphPathLister.listPaths(graph));
|
||||
}
|
||||
|
||||
public static String render(QWordGraph graph) {
|
||||
|
Loading…
Reference in New Issue
Block a user