// unchanged import lombok.val; public class ValInBasicFor { public void basicFor() { java.util.List list = java.util.Arrays.asList("Hello, World!"); for (val shouldBe = 1, marked = "", error = 1.0; ; ) { System.out.println(""); } } }