You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by lk...@apache.org on 2020/01/01 17:00:19 UTC

[netbeans] branch master updated: [NETBEANS-3656] do not log missing test dirs as exception.

This is an automated email from the ASF dual-hosted git repository.

lkishalmi 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 f25af78  [NETBEANS-3656] do not log missing test dirs as exception.
f25af78 is described below

commit f25af78881f4ad29aec81c301c4d00974db2db76
Author: Laszlo Kishalmi <la...@gmail.com>
AuthorDate: Wed Jan 1 01:24:14 2020 -0800

    [NETBEANS-3656] do not log missing test dirs as exception.
---
 .../src/org/netbeans/modules/java/testrunner/CommonTestUtil.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/java/java.testrunner/src/org/netbeans/modules/java/testrunner/CommonTestUtil.java b/java/java.testrunner/src/org/netbeans/modules/java/testrunner/CommonTestUtil.java
index 59f62cd..4910fd5 100644
--- a/java/java.testrunner/src/org/netbeans/modules/java/testrunner/CommonTestUtil.java
+++ b/java/java.testrunner/src/org/netbeans/modules/java/testrunner/CommonTestUtil.java
@@ -127,11 +127,10 @@ public class CommonTestUtil {
         for (int i = 0; i < rootURLs.length; i++) {
             if ((sourceRoots[i] = URLMapper.findFileObject(rootURLs[i]))
                     == null) {
-                ErrorManager.getDefault().notify(
+                ErrorManager.getDefault().log(
                         ErrorManager.INFORMATIONAL,
-                        new IllegalStateException(
                            "No FileObject found for the following URL: "//NOI18N
-                           + rootURLs[i]));
+                           + rootURLs[i]);
                 someSkipped = true;
                 continue;
             }


---------------------------------------------------------------------
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