[jira] [Resolved] (NETBEANS-6400) Excessive space witihin parentheses of 'try-with-resources'.

2022-12-06 Thread Michael Bien (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-6400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bien resolved NETBEANS-6400.

Fix Version/s: 16
   Resolution: Fixed

> Excessive space witihin parentheses of 'try-with-resources'.
> 
>
> Key: NETBEANS-6400
> URL: https://issues.apache.org/jira/browse/NETBEANS-6400
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 12.6
> Environment: Linux Mint 20.3
> JDK 17.0.1
>Reporter: Alexander
>Priority: Major
> Fix For: 16
>
> Attachments: Снимок экрана в 2022-01-18 12-36-49.png, Снимок экрана в 
> 2022-01-18 12-43-15.png
>
>
> After formatting of the code with try-with-resources block there is excessive 
> first space within parentheses.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans] branch master updated: Make Java Platform available on non-java Gradle Projects

2022-12-06 Thread lkishalmi
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 ee7d2dda7e Make Java Platform available on non-java Gradle Projects
ee7d2dda7e is described below

commit ee7d2dda7e7fd6232754a331259323002f820d1e
Author: Laszlo Kishalmi 
AuthorDate: Mon Dec 5 22:45:43 2022 -0800

Make Java Platform available on non-java Gradle Projects
---
 .../modules/gradle/java/execute/LookupProviders.java| 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git 
a/java/gradle.java/src/org/netbeans/modules/gradle/java/execute/LookupProviders.java
 
b/java/gradle.java/src/org/netbeans/modules/gradle/java/execute/LookupProviders.java
index 1dc7f74878..41462bc76e 100644
--- 
a/java/gradle.java/src/org/netbeans/modules/gradle/java/execute/LookupProviders.java
+++ 
b/java/gradle.java/src/org/netbeans/modules/gradle/java/execute/LookupProviders.java
@@ -29,6 +29,18 @@ import org.openide.util.lookup.Lookups;
  * @author lkishalmi
  */
 public class LookupProviders {
+
+@LookupProvider.Registration(projectType = 
NbGradleProject.GRADLE_PROJECT_TYPE)
+public static LookupProvider createProvider() {
+return new LookupProvider() {
+@Override
+public Lookup createAdditionalLookup(Lookup baseContext) {
+Project project = baseContext.lookup(Project.class);
+return Lookups.singleton(new 
GradleJavaPlatformProviderImpl(project));
+}
+};
+}
+
 @LookupProvider.Registration(projectType = 
NbGradleProject.GRADLE_PLUGIN_TYPE + "/java-base")
 public static LookupProvider createJavaBaseProvider() {
 return new LookupProvider() {
@@ -37,7 +49,6 @@ public class LookupProviders {
 Project project = baseContext.lookup(Project.class);
 return Lookups.fixed(
 new DebugFixHooks(project),
-new GradleJavaPlatformProviderImpl(project),
 new ShowJavadocHook(project)
 );
 }


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[netbeans-website] branch master updated: fix vote link to match Apache NetBeans 16

2022-12-06 Thread skygo
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
 new 91ac6c202 fix vote link to match Apache NetBeans 16
91ac6c202 is described below

commit 91ac6c2022a7b45ff2146871b6e811fcb24bc713
Author: Eric Barboni 
AuthorDate: Tue Dec 6 13:09:25 2022 +0100

fix vote link to match Apache NetBeans 16
---
 netbeans.apache.org/src/content/download/nb16/index.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/netbeans.apache.org/src/content/download/nb16/index.adoc 
b/netbeans.apache.org/src/content/download/nb16/index.adoc
index 692acf6d6..2c8a6b535 100644
--- a/netbeans.apache.org/src/content/download/nb16/index.adoc
+++ b/netbeans.apache.org/src/content/download/nb16/index.adoc
@@ -121,8 +121,8 @@ Once built you can run the IDE by typing 
`./nbbuild/netbeans/bin/netbeans`
 As in any other Apache Project, the Apache NetBeans Community approved this 
release
 through the following voting processes in our 
xref:../../community/mailing-lists.adoc[mailing lists]:
 
-- link:https://lists.apache.org/thread/3yk4p82jzomx7vbgpognxh1ksq72fbpo[PMC 
vote]
-- link:https://lists.apache.org/thread/255kfrv93ygl4ndr8mqhhv89yrjlc712[PMC 
vote result]
+- link:https://lists.apache.org/thread/xr1t60wpprlboco85s98n0nch8fgj87c[PMC 
vote]
+- link:https://lists.apache.org/thread/oo6bmxtorb4rtn2v2dxqbq1hgp8tx4x6[PMC 
vote result]
 
 == Earlier Releases
 


-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists