Redundant field initialization

Last modified: 03 December 2024

Reports fields explicitly initialized to their default values.

Example:

After the quick-fix is applied:

Use the inspection settings to only report explicit null initialization, for example: