aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ValInFor.java
blob: 35332b34e32005ef4f151939bc9684571f5097c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
import lombok.val;

public class ValInFor {
	public void enhancedFor() {
		java.util.List<String> list = java.util.Arrays.asList("Hello, World!");
		for (val shouldBeString : list) {
			System.out.println(shouldBeString.toLowerCase());
			val shouldBeString2 = shouldBeString;
		}
	}
}