Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6129

Extra space in try with resources without nb-javac

    XMLWordPrintableJSON

Details

    Description

      Automatic formatting adds a space for try with resources if nb-javac is not installed:

      try ( MyType myObject = new MyType()) {
      }
      

      Once nb-javac is installed the space goes away:

      try (MyType myObject = new MyType()) {
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              morvael Dominik DerwiƄski
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: