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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists