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/netbeans-html4j.git

commit 3a57153c6682d83f8afc219371f5a33e0f61f7c6
Author: Jaroslav Tulach <[email protected]>
AuthorDate: Tue Jul 5 08:22:09 2022 +0200

    Converting to text block
---
 .../org/netbeans/html/presenters/spi/test/Counter.java    | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git 
a/generic/src/test/java/org/netbeans/html/presenters/spi/test/Counter.java 
b/generic/src/test/java/org/netbeans/html/presenters/spi/test/Counter.java
index 75a4a973..e50ad7a6 100644
--- a/generic/src/test/java/org/netbeans/html/presenters/spi/test/Counter.java
+++ b/generic/src/test/java/org/netbeans/html/presenters/spi/test/Counter.java
@@ -34,13 +34,14 @@ public final class Counter {
         }
     }
 
-    @JavaScriptBody(args = {}, javacall = true, body
-            = "if (!this.counter) {\n"
-            + "  this.counter = function() { return 
@org.netbeans.html.presenters.spi.test.Counter::count()(); };\n"
-            + "  return true;\n"
-            + "} else {\n"
-            + "  return false;\n"
-            + "}\n"
+    @JavaScriptBody(args = {}, javacall = true, body = """
+        if (!this.counter) {
+          this.counter = function() { return 
@org.netbeans.html.presenters.spi.test.Counter::count()(); };
+          return true;
+        } else {
+          return false;
+        }
+        """
     )
     private static native boolean rCounter();
     


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

Reply via email to