Hi! I had one follow up question to this rule. Do you suggest anything for unused local variables in an enhanced for-loop? For example,
import java.util.List;
List<String> list = List.of("aman", "sharma");
for (String s: list) {
System.out.println("Hello World!");
}