Inspectopedia
 
2024.3

Redundant enum constructor invocation

Info
New
Last modified: 03 December 2024

Reports redundant constructor invocation on an enum entry.

Example:

After the quick-fix is applied: