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

Incorrect brace spacing in try-with-resources

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 8.2, 11.2
    • Fix Version/s: None
    • Labels:
      None

      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

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              Dates

              • Created:
                Updated:

                Issue deployment