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 2021/11/03 04:35:40 UTC

[netbeans-html4j] branch master updated (2065359 -> 85aef8f)

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

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


    from 2065359  It's 2021!
     new 6b414cd  Enabling Jackpot checks to prevent accidental usage of ArrayList & co.
     new 85aef8f  Getting ready for next development iteration

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 boot-agent-test/pom.xml                            |  2 +-
 boot-fx/pom.xml                                    |  4 +--
 boot-script/pom.xml                                |  4 +--
 boot/pom.xml                                       |  4 +--
 browser/pom.xml                                    |  2 +-
 context/pom.xml                                    |  4 +--
 ecj-test/pom.xml                                   |  4 +--
 equinox-agentclass-hook/pom.xml                    |  2 +-
 generic/pom.xml                                    |  4 +--
 geo/pom.xml                                        |  4 +--
 html4j-maven-plugin/pom.xml                        |  4 +--
 json-tck/pom.xml                                   | 11 +++++---
 .../java/META-INF/upgrade/AvoidCollections.hint    | 31 +++++++++++++---------
 json/pom.xml                                       |  4 +--
 ko-felix-test/pom.xml                              |  2 +-
 ko-osgi-test/pom.xml                               |  2 +-
 ko-ws-tyrus/pom.xml                                |  4 +--
 ko4j/pom.xml                                       |  4 +--
 pom.xml                                            |  2 +-
 renderer/pom.xml                                   |  2 +-
 sound/pom.xml                                      |  4 +--
 webkit/pom.xml                                     |  2 +-
 xhr4j/pom.xml                                      |  4 +--
 23 files changed, 61 insertions(+), 49 deletions(-)
 copy json/src/main/java/org/netbeans/html/json/impl/ClassValueTypes.java => json-tck/src/main/java/META-INF/upgrade/AvoidCollections.hint (64%)

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


[netbeans-html4j] 02/02: Getting ready for next development iteration

Posted by jt...@apache.org.
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 85aef8fbd53fe4303da479a8952dffed73b0c838
Author: Jaroslav Tulach <ja...@apidesign.org>
AuthorDate: Wed Nov 3 05:26:21 2021 +0100

    Getting ready for next development iteration
---
 boot-agent-test/pom.xml         | 2 +-
 boot-fx/pom.xml                 | 4 ++--
 boot-script/pom.xml             | 4 ++--
 boot/pom.xml                    | 4 ++--
 browser/pom.xml                 | 2 +-
 context/pom.xml                 | 4 ++--
 ecj-test/pom.xml                | 4 ++--
 equinox-agentclass-hook/pom.xml | 2 +-
 generic/pom.xml                 | 4 ++--
 geo/pom.xml                     | 4 ++--
 html4j-maven-plugin/pom.xml     | 4 ++--
 json-tck/pom.xml                | 6 +++---
 json/pom.xml                    | 4 ++--
 ko-felix-test/pom.xml           | 2 +-
 ko-osgi-test/pom.xml            | 2 +-
 ko-ws-tyrus/pom.xml             | 4 ++--
 ko4j/pom.xml                    | 4 ++--
 pom.xml                         | 2 +-
 renderer/pom.xml                | 2 +-
 sound/pom.xml                   | 4 ++--
 webkit/pom.xml                  | 2 +-
 xhr4j/pom.xml                   | 4 ++--
 22 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/boot-agent-test/pom.xml b/boot-agent-test/pom.xml
index d9724f4..54c4e4a 100644
--- a/boot-agent-test/pom.xml
+++ b/boot-agent-test/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.netbeans.html</groupId>
         <artifactId>pom</artifactId>
-        <version>1.7.2</version>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     <artifactId>boot-agent-test</artifactId>
     <packaging>jar</packaging>
diff --git a/boot-fx/pom.xml b/boot-fx/pom.xml
index de03245..25e510f 100644
--- a/boot-fx/pom.xml
+++ b/boot-fx/pom.xml
@@ -24,11 +24,11 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <groupId>org.netbeans.html</groupId>
   <artifactId>net.java.html.boot.fx</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <name>FX WebView Bootstrap</name>
   <packaging>bundle</packaging>
   <url>http://maven.apache.org</url>
diff --git a/boot-script/pom.xml b/boot-script/pom.xml
index 3ad0ef8..91f62fc 100644
--- a/boot-script/pom.xml
+++ b/boot-script/pom.xml
@@ -24,11 +24,11 @@
     <parent>
         <groupId>org.netbeans.html</groupId>
         <artifactId>pom</artifactId>
-        <version>1.7.2</version>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     <name>Presenter via javax.script</name>
     <artifactId>net.java.html.boot.script</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <properties>
         <netbeans.compile.on.save>none</netbeans.compile.on.save>
diff --git a/boot/pom.xml b/boot/pom.xml
index 50f728c..19968a5 100644
--- a/boot/pom.xml
+++ b/boot/pom.xml
@@ -24,11 +24,11 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <groupId>org.netbeans.html</groupId>
   <artifactId>net.java.html.boot</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <name>Browser Bootstrap</name>
   <url>http://maven.apache.org</url>
diff --git a/browser/pom.xml b/browser/pom.xml
index 78a92fd..746c7f9 100644
--- a/browser/pom.xml
+++ b/browser/pom.xml
@@ -26,7 +26,7 @@
     <parent>
         <groupId>org.netbeans.html</groupId>
         <artifactId>pom</artifactId>
-        <version>1.7.2</version>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     <name>DukeScript Presenter for any Browser</name>
     <properties>
diff --git a/context/pom.xml b/context/pom.xml
index 413a603..1f1cc29 100644
--- a/context/pom.xml
+++ b/context/pom.xml
@@ -24,11 +24,11 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <groupId>org.netbeans.html</groupId>
   <artifactId>net.java.html</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <name>HTML Context</name>
   <url>http://maven.apache.org</url>
diff --git a/ecj-test/pom.xml b/ecj-test/pom.xml
index 2c415eb..da8729c 100644
--- a/ecj-test/pom.xml
+++ b/ecj-test/pom.xml
@@ -24,11 +24,11 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <groupId>org.netbeans.html</groupId>
   <artifactId>ecj-test</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <name>Testing ecj</name>
   <url>http://maven.apache.org</url>
diff --git a/equinox-agentclass-hook/pom.xml b/equinox-agentclass-hook/pom.xml
index d02e9bc..9522247 100644
--- a/equinox-agentclass-hook/pom.xml
+++ b/equinox-agentclass-hook/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.netbeans.html</groupId>
         <artifactId>pom</artifactId>
-        <version>1.7.2</version>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     <name>AgentClass Hook for Equinox</name>
     <artifactId>equinox-agentclass-hook</artifactId>
diff --git a/generic/pom.xml b/generic/pom.xml
index 75818b7..e7a0064 100644
--- a/generic/pom.xml
+++ b/generic/pom.xml
@@ -24,13 +24,13 @@
     <parent>
         <groupId>org.netbeans.html</groupId>
         <artifactId>pom</artifactId>
-        <version>1.7.2</version>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     
     <artifactId>generic</artifactId>
     <name>DukeScript Generic Presenter</name>
     <packaging>bundle</packaging>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
     <properties>
         <main.dir>${project.parent.basedir}</main.dir>
         <publicPackages>org.netbeans.html.presenters.spi</publicPackages>
diff --git a/geo/pom.xml b/geo/pom.xml
index 27e3c1e..928ece3 100644
--- a/geo/pom.xml
+++ b/geo/pom.xml
@@ -24,11 +24,11 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <groupId>org.netbeans.html</groupId>
   <artifactId>net.java.html.geo</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <name>Geolocation API</name>
   <url>http://maven.apache.org</url>
diff --git a/html4j-maven-plugin/pom.xml b/html4j-maven-plugin/pom.xml
index 8869431..7e39a80 100644
--- a/html4j-maven-plugin/pom.xml
+++ b/html4j-maven-plugin/pom.xml
@@ -24,12 +24,12 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <packaging>maven-plugin</packaging>
   <groupId>org.netbeans.html</groupId>
   <artifactId>html4j-maven-plugin</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <name>Html for Java Maven Plugin</name>
   <url>http://maven.apache.org</url>
   <description>Maven plugin to post process the classes with @JavaScriptBody annotations</description>
diff --git a/json-tck/pom.xml b/json-tck/pom.xml
index f3cecd9..6824248 100644
--- a/json-tck/pom.xml
+++ b/json-tck/pom.xml
@@ -24,11 +24,11 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <groupId>org.netbeans.html</groupId>
   <artifactId>net.java.html.json.tck</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <name>HTML for Java TCK</name>
   <url>http://maven.apache.org</url>
@@ -66,7 +66,7 @@
     <dependency>
       <groupId>org.netbeans.html</groupId>
       <artifactId>net.java.html.json</artifactId>
-      <version>1.7.2</version>
+      <version>2.0-SNAPSHOT</version>
       <type>jar</type>
     </dependency>
     <dependency>
diff --git a/json/pom.xml b/json/pom.xml
index 8e12ea4..31c5a96 100644
--- a/json/pom.xml
+++ b/json/pom.xml
@@ -24,11 +24,11 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <groupId>org.netbeans.html</groupId>
   <artifactId>net.java.html.json</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <name>JSON Model in Java</name>
   <url>http://maven.apache.org</url>
diff --git a/ko-felix-test/pom.xml b/ko-felix-test/pom.xml
index 77cb317..43b7c57 100644
--- a/ko-felix-test/pom.xml
+++ b/ko-felix-test/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.netbeans.html</groupId>
         <artifactId>pom</artifactId>
-        <version>1.7.2</version>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     <name>KO Tests in Felix OSGi Container</name>
     <artifactId>ko-felix-test</artifactId>
diff --git a/ko-osgi-test/pom.xml b/ko-osgi-test/pom.xml
index e794a84..9c0aece 100644
--- a/ko-osgi-test/pom.xml
+++ b/ko-osgi-test/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.netbeans.html</groupId>
         <artifactId>pom</artifactId>
-        <version>1.7.2</version>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     <name>KO Tests in Equinox OSGi Container</name>
     <artifactId>ko-osgi-test</artifactId>
diff --git a/ko-ws-tyrus/pom.xml b/ko-ws-tyrus/pom.xml
index e64dd86..ca6f787 100644
--- a/ko-ws-tyrus/pom.xml
+++ b/ko-ws-tyrus/pom.xml
@@ -24,11 +24,11 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <groupId>org.netbeans.html</groupId>
   <artifactId>ko-ws-tyrus</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <name>Tyrus Based WebSockets</name>
   <url>http://maven.apache.org</url>
diff --git a/ko4j/pom.xml b/ko4j/pom.xml
index 0f40b6d..e1b9950 100644
--- a/ko4j/pom.xml
+++ b/ko4j/pom.xml
@@ -24,11 +24,11 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <groupId>org.netbeans.html</groupId>
   <artifactId>ko4j</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <name>Knockout.js for Java</name>
   <url>http://maven.apache.org</url>
diff --git a/pom.xml b/pom.xml
index de98d7d..64bde1f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.netbeans.html</groupId>
   <artifactId>pom</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>HTML APIs via Java</name>
   <parent>
diff --git a/renderer/pom.xml b/renderer/pom.xml
index c707146..2ff28fd 100644
--- a/renderer/pom.xml
+++ b/renderer/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.netbeans.html</groupId>
         <artifactId>pom</artifactId>
-        <version>1.7.2</version>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     <artifactId>renderer</artifactId>
     <packaging>bundle</packaging>
diff --git a/sound/pom.xml b/sound/pom.xml
index fdb3868..e6ce1ad 100644
--- a/sound/pom.xml
+++ b/sound/pom.xml
@@ -24,11 +24,11 @@
     <parent>
         <groupId>org.netbeans.html</groupId>
         <artifactId>pom</artifactId>
-        <version>1.7.2</version>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>net.java.html.sound</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>Sound API via HTML</name>
     <url>http://maven.apache.org</url>
diff --git a/webkit/pom.xml b/webkit/pom.xml
index 00a8d7c..1ed5cd1 100644
--- a/webkit/pom.xml
+++ b/webkit/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.netbeans.html</groupId>
         <artifactId>pom</artifactId>
-        <version>1.7.2</version>
+        <version>2.0-SNAPSHOT</version>
     </parent>
     <artifactId>webkit</artifactId>
     <name>WebKit Presenter</name>
diff --git a/xhr4j/pom.xml b/xhr4j/pom.xml
index 2d2cb17..35794f6 100644
--- a/xhr4j/pom.xml
+++ b/xhr4j/pom.xml
@@ -24,11 +24,11 @@
   <parent>
     <groupId>org.netbeans.html</groupId>
     <artifactId>pom</artifactId>
-    <version>1.7.2</version>
+    <version>2.0-SNAPSHOT</version>
   </parent>
   <groupId>org.netbeans.html</groupId>
   <artifactId>xhr4j</artifactId>
-  <version>1.7.2</version>
+  <version>2.0-SNAPSHOT</version>
   <packaging>bundle</packaging>
   <name>XHR via Java</name>
   <url>http://maven.apache.org</url>

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


[netbeans-html4j] 01/02: Enabling Jackpot checks to prevent accidental usage of ArrayList & co.

Posted by jt...@apache.org.
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 6b414cd22b8b3daaf268bacf5564ad609f00b85b
Author: Jaroslav Tulach <ja...@apidesign.org>
AuthorDate: Thu Jul 15 09:02:58 2021 +0200

    Enabling Jackpot checks to prevent accidental usage of ArrayList & co.
---
 json-tck/pom.xml                                   |  5 +++
 .../java/META-INF/upgrade/AvoidCollections.hint    | 42 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/json-tck/pom.xml b/json-tck/pom.xml
index b73c619..f3cecd9 100644
--- a/json-tck/pom.xml
+++ b/json-tck/pom.xml
@@ -55,6 +55,11 @@
                   <includeDependencySources>true</includeDependencySources>
               </configuration>
           </plugin>
+          <plugin>
+              <groupId>org.apache.netbeans.modules.jackpot30</groupId>
+              <artifactId>jackpot30-maven-plugin</artifactId>
+              <version>12.3</version>
+          </plugin>
       </plugins>
   </build>
   <dependencies>
diff --git a/json-tck/src/main/java/META-INF/upgrade/AvoidCollections.hint b/json-tck/src/main/java/META-INF/upgrade/AvoidCollections.hint
new file mode 100644
index 0000000..92d236e
--- /dev/null
+++ b/json-tck/src/main/java/META-INF/upgrade/AvoidCollections.hint
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+new java.util.ArrayList<>()
+=> 'Models.asList() is more lightweight':
+net.java.html.json.Models.asList()
+;;
+
+new java.util.ArrayList()
+=> 'Models.asList() is more lightweight':
+net.java.html.json.Models.asList()
+;;
+
+new java.util.ArrayList<$T>()
+=> 'Models.asList() is more lightweight':
+net.java.html.json.Models.<$T>asList()
+;;
+
+
+java.util.HashSet 
+=> 'Avoid HashSet': SimpleMap.create()
+;;
+
+java.util.HashMap
+=> 'Avoid HashMap': SimpleMap.create()
+;;

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