-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix indent of body of try-with-resources statement (#2229)
- block indenting for a try-with-resources block uses the indent of the left parenthesis line as base indent but when multiple resources are used, they are indented so the block must use the indent of the try statement start - this is needed for eclipse-jdt/eclipse.jdt.ui#1261 - fix ASTRewriteFlattener to properly add space before body parenthesis - fixes #2227
- Loading branch information
Showing
2 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters