aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/ValInFor.java
blob: f2c50139ec4f49fab7c7c53fb3a642fef3840155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// version :9
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;
		}
	}
}