You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by jt...@apache.org on 2018/07/16 03:13:25 UTC

[incubator-netbeans-html4j] branch master updated: Human readable toString() for processed class files

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

jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-html4j.git


The following commit(s) were added to refs/heads/master by this push:
     new ff995ac  Human readable toString() for processed class files
ff995ac is described below

commit ff995ac0d260215f7079b94f8fa7b4ef2abe680a
Author: Jaroslav Tulach <ja...@oracle.com>
AuthorDate: Mon Jul 16 05:13:05 2018 +0200

    Human readable toString() for processed class files
---
 .../java/org/netbeans/html/mojo/ProcessJsAnnotations.java    | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/html4j-maven-plugin/src/main/java/org/netbeans/html/mojo/ProcessJsAnnotations.java b/html4j-maven-plugin/src/main/java/org/netbeans/html/mojo/ProcessJsAnnotations.java
index 9457287..6dc3de0 100644
--- a/html4j-maven-plugin/src/main/java/org/netbeans/html/mojo/ProcessJsAnnotations.java
+++ b/html4j-maven-plugin/src/main/java/org/netbeans/html/mojo/ProcessJsAnnotations.java
@@ -305,5 +305,17 @@ abstract class ProcessJsAnnotations {
             }
             throw new FileNotFoundException();
         }
+
+        @Override
+        public String toString() {
+            StringBuilder sb = new StringBuilder();
+            String sep = "";
+            for (File r : roots) {
+                sb.append(sep);
+                sb.append(r.toString());
+                sep = ", ";
+            }
+            return sb.toString();
+        }
     }
 }


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