You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Dominik Derwiński (Jira)" <ji...@apache.org> on 2021/10/14 06:57:00 UTC

[jira] [Created] (NETBEANS-6129) Extra space in try with resources without nb-javac

Dominik Derwiński created NETBEANS-6129:
-------------------------------------------

             Summary: 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 &amp; Indentation
    Affects Versions: 12.5
            Reporter: Dominik Derwiński


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.3.4#803005)

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