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

pepness 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 e79c82fa24 Add javadoc for JDK 20 early access (#4369)
e79c82fa24 is described below

commit e79c82fa249f13621ca080812f4f5be5509ce60e
Author: José Contreras <[email protected]>
AuthorDate: Wed Jul 13 20:29:35 2022 +0000

    Add javadoc for JDK 20 early access (#4369)
---
 .../platformdefinition/J2SEPlatformDefaultJavadocImpl.java             | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/java/java.j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformDefaultJavadocImpl.java
 
b/java/java.j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformDefaultJavadocImpl.java
index e49ba679cc..f04f8168c1 100644
--- 
a/java/java.j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformDefaultJavadocImpl.java
+++ 
b/java/java.j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/J2SEPlatformDefaultJavadocImpl.java
@@ -46,7 +46,7 @@ import org.openide.util.lookup.ServiceProvider;
 public final class J2SEPlatformDefaultJavadocImpl implements 
J2SEPlatformDefaultJavadoc {
 
     private static final Logger LOG = 
Logger.getLogger(J2SEPlatformDefaultJavadocImpl.class.getName());
-    private static final Map<String,String> OFFICIAL_JAVADOC = new 
HashMap<String,String>();
+    private static final Map<String,String> OFFICIAL_JAVADOC = new HashMap<>();
     static {
         OFFICIAL_JAVADOC.put("1.0", null); // NOI18N
         OFFICIAL_JAVADOC.put("1.1", null); // NOI18N
@@ -68,6 +68,7 @@ public final class J2SEPlatformDefaultJavadocImpl implements 
J2SEPlatformDefault
         OFFICIAL_JAVADOC.put("17", 
"https://docs.oracle.com/en/java/javase/17/docs/api/";); // NOI18N
         OFFICIAL_JAVADOC.put("18", 
"https://docs.oracle.com/en/java/javase/18/docs/api/";); // NOI18N
         OFFICIAL_JAVADOC.put("19", 
"https://download.java.net/java/early_access/jdk19/docs/api/";); // NOI18N Early 
access
+        OFFICIAL_JAVADOC.put("20", 
"https://download.java.net/java/early_access/jdk20/docs/api/";); // NOI18N Early 
access
     }
 
     @Override


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