You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by sd...@apache.org on 2022/11/25 14:52:29 UTC
[netbeans] branch master updated: Use warning rather than error for vulnerability reports.
This is an automated email from the ASF dual-hosted git repository.
sdedic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 09db3501a7 Use warning rather than error for vulnerability reports.
new 8a89ae468d Merge pull request #5005 from sdedic/adm/vulnerability-warning
09db3501a7 is described below
commit 09db3501a7618131590ae8be34b71f0973e6aef6
Author: Svata Dedic <sv...@oracle.com>
AuthorDate: Thu Nov 24 11:01:59 2022 +0100
Use warning rather than error for vulnerability reports.
---
.../src/org/netbeans/modules/cloud/oracle/adm/VulnerabilityWorker.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/adm/VulnerabilityWorker.java b/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/adm/VulnerabilityWorker.java
index c67017844f..5e36f3e822 100644
--- a/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/adm/VulnerabilityWorker.java
+++ b/enterprise/cloud.oracle/src/org/netbeans/modules/cloud/oracle/adm/VulnerabilityWorker.java
@@ -518,7 +518,7 @@ public class VulnerabilityWorker implements ErrorProvider{
}
if (auditDone) {
DialogDisplayer.getDefault().notifyLater(
- new NotifyDescriptor.Message(message, cacheItem.getAudit().getIsSuccess() ? NotifyDescriptor.INFORMATION_MESSAGE : NotifyDescriptor.ERROR_MESSAGE));
+ new NotifyDescriptor.Message(message, cacheItem.getAudit().getIsSuccess() ? NotifyDescriptor.INFORMATION_MESSAGE : NotifyDescriptor.WARNING_MESSAGE));
}
Diagnostic.ReporterControl reporter = Diagnostic.findReporterControl(Lookup.getDefault(), project.getProjectDirectory());
reporter.diagnosticChanged(problematicFiles, null);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists