kourendlibrary: Simplify stream
This commit is contained in:
@@ -151,7 +151,7 @@ class KourendLibraryPanel extends PluginPanel
|
||||
}
|
||||
else
|
||||
{
|
||||
e.getValue().setLocation("<html>" + locs.stream().collect(Collectors.joining("<br>")) + "</html>");
|
||||
e.getValue().setLocation("<html>" + String.join("<br>", locs) + "</html>");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user