mirror of
https://github.com/tiennm99/lombok.git
synced 2026-08-21 08:26:37 +00:00
More test files, test files updated to be valid java, and ecj test now goes through the complete compile process. This means val and @Delegate testing is now enabled.
TODO: Update -eclipse tests.
This commit is contained in:
@@ -1,17 +1,6 @@
|
||||
import lombok.val;
|
||||
|
||||
public class ValInFor {
|
||||
{
|
||||
val x = 10;
|
||||
val x2 = -1;
|
||||
val a = "Hello";
|
||||
for (val y = x, z = x2; y < 20; y++) {
|
||||
val q = y;
|
||||
val w = z;
|
||||
val v = a;
|
||||
}
|
||||
}
|
||||
|
||||
public void enhancedFor() {
|
||||
java.util.List<String> list = java.util.Arrays.asList("Hello, World!");
|
||||
for (val shouldBeString : list) {
|
||||
|
||||
Reference in New Issue
Block a user