From 0735ef5dd2c22cf9806a3a2832180fe232e0131c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0est=C3=A1k=20V=C3=ADt?= Date: Wed, 15 Nov 2017 16:28:02 +0100 Subject: [PATCH] Added a minor comment --- app/controllers/Notifications.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/Notifications.scala b/app/controllers/Notifications.scala index c90a739..aace6e2 100644 --- a/app/controllers/Notifications.scala +++ b/app/controllers/Notifications.scala @@ -174,7 +174,7 @@ class Notifications @Inject()( notifyVulnerabilities[String](lds, failedProjects, notificationService.diffDbExport, p){ (vulnerability, dependencies) => //?save_new_vulnerability val affectedProjects = dependencies.flatMap(_.projects) - val diff = new SetDiff(Set(), affectedProjects) + val diff = new SetDiff(Set(), affectedProjects) // When reporting a new vulnerability, the list of originally affected projects is empty. notificationService.changeAffectedProjects(vulnerability.name, diff.map(_.fullId)).map{_ => ExportedVulnerability[String](vulnerabilityName = vulnerability.name, ticket = vulnerability.name, ticketFormatVersion = 0, done = false) }