Inspectopedia Help

Reassigned variable

Reports reassigned variables, which complicate reading and understanding the code.

Example:

int value = 2 * (height + width); System.out.println("perimeter: " + value); value = height * width; System.out.println("area: " + value);

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023