AndrewG10i commented on issue #3720:
URL: https://github.com/apache/netbeans/issues/3720#issuecomment-1248804306
Great news, very looking forward!
I would like to note that besides adding a space it also changes the
formatting of code when several resources are used in the try-with-resources
block on separate lines.
This worked well until NB 13 (e.g. in NB 12.6).
Original code:
```
try (InputStream is1 = getIsOne();
InputStream is2 = getIsTwo();) {
...
} catch (IOException ex) {
...
}
```
After formatting both resources getting into one line:
```
try ( InputStream is1 = getIsOne(); InputStream is2 = getIsTwo();) {
...
} catch (IOException ex) {
...
}
```
Hopefully that could be also addressed within the fix for the reported issue
as seems it is related.
Thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists