Inspectopedia
 
2024.3

Array creation without 'new' expression

Info
New
Last modified: 03 December 2024

Reports array initializers without new array expressions and suggests adding them.

Example:

After the quick-fix is applied: