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

Incorrect brace spacing in try-with-resources

    XMLWordPrintableJSON

Details

    Description

      Given:

      try (Session session = scope.getSession())

      Invoking code-format results in:

      try ( Session session = scope.getSession())

      in spite of the fact that the IDE is configured not to insert a space inside the parenthesis.

      Attachments

        1. defaults.zip
          2 kB
          Ben Alex

        Issue Links

          Activity

            People

              cowwoc Gili
              cowwoc Gili
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: