Redundant 'new' expression in constant array creation
Reports constant new array expressions that can be replaced with an array initializer. Array initializers can omit the type because it is already specified in the left side of the assignment.
After the quick-fix is applied:
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3