neilcsmith-net commented on issue #3720: URL: https://github.com/apache/netbeans/issues/3720#issuecomment-1252626719
I think #4648 should fix the extra space if someone wants to help test. It seems to be to do with an implicit `final` modifier. The code is currently making sure there's a space between that and the type, even if it's not in the source. Try an explicit `final` and you won't see the problem. I assume that at some point the compiler API started reporting the source positions of that element differently. The removed line breaks may also be due to changes in the reported token positions, but I'm stuck on that one at the moment. Will leave for another fix. A partial workaround is setting the wrapping to always wrap on try resources. -- 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
