mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix maven artifacts download notification logging IDEA-204514
Numbered list is not rendered in Event Log toolwindow, resulting in list items without spaces between them.
This commit is contained in:
@@ -340,13 +340,10 @@ public class JarRepositoryManager {
|
||||
private static void notifyArtifactsDownloaded(Project project, Collection<OrderRoot> roots) {
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
final String title = "The following files were downloaded:";
|
||||
sb.append("<ol>");
|
||||
for (OrderRoot root : roots) {
|
||||
sb.append("<li>");
|
||||
sb.append("<p/>");
|
||||
sb.append(root.getFile().getName());
|
||||
sb.append("</li>");
|
||||
}
|
||||
sb.append("</ol>");
|
||||
Notifications.Bus.notify(new Notification("Repository", title, sb.toString(), NotificationType.INFORMATION), project);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user