[
https://issues.apache.org/jira/browse/NETBEANS-6129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Bien resolved NETBEANS-6129.
------------------------------------
Fix Version/s: 16
Resolution: Fixed
fixed via https://github.com/apache/netbeans/pull/4648
> Extra space in try with resources without nb-javac
> --------------------------------------------------
>
> Key: NETBEANS-6129
> URL: https://issues.apache.org/jira/browse/NETBEANS-6129
> Project: NetBeans
> Issue Type: Bug
> Components: editor - Formatting & Indentation
> Affects Versions: 12.5, 13
> Reporter: Dominik DerwiĆski
> Priority: Minor
> Fix For: 16
>
>
> Automatic formatting adds a space for try with resources if nb-javac is not
> installed:
> {code:java}
> try ( MyType myObject = new MyType()) {
> }
> {code}
> Once nb-javac is installed the space goes away:
> {code:java}
> try (MyType myObject = new MyType()) {
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
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