From 66d2d3e9bee78efb885345d1f9f74d79423aa5d7 Mon Sep 17 00:00:00 2001 From: "Vassiliy.Kudryashov" Date: Fri, 25 Nov 2022 16:53:14 +0300 Subject: [PATCH] Notification group XXX report is already registered pollutes idea.log #1409 --- .../main/kotlin/org/utbot/intellij/plugin/ui/Notifications.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utbot-ui-commons/src/main/kotlin/org/utbot/intellij/plugin/ui/Notifications.kt b/utbot-ui-commons/src/main/kotlin/org/utbot/intellij/plugin/ui/Notifications.kt index 5891e48f8b..a5190f9769 100644 --- a/utbot-ui-commons/src/main/kotlin/org/utbot/intellij/plugin/ui/Notifications.kt +++ b/utbot-ui-commons/src/main/kotlin/org/utbot/intellij/plugin/ui/Notifications.kt @@ -37,7 +37,7 @@ abstract class Notifier { protected open val notificationDisplayType = NotificationDisplayType.BALLOON protected val notificationGroup: NotificationGroup - get() = NotificationGroup(displayId, notificationDisplayType) + get() = NotificationGroup.findRegisteredGroup(displayId) ?: NotificationGroup(displayId, notificationDisplayType) } abstract class WarningNotifier : Notifier() {