Scala:Troubleshooting
lastmod 2020-10-28created 2020-10-281 edits
How to solve Scala problems.
The enclosing block is redundant
The enclosing block is redundant
Inspection info: This inspection reports redundant enclosing blocks around expressions (including ones within interpolated strings)
There is an unnecessary enclosing block.
In code like the above, the { and } can be removed as below.