mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-12 22:14:53 +00:00
lombok.val import now gets removed. Only adding lombok.val flags the compilation unit as changed.
This commit is contained in:
1 parent
dd0fded2bf
commit
b0072a17eb
13 files changed
+54
-44
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import lombok.val;
|
||||
|
||||
public class ValInFor {
|
||||
{
|
||||
val x = 10;
|
||||
@@ -10,11 +12,11 @@ public class ValInFor {
|
||||
}
|
||||
}
|
||||
|
||||
/* public void enhancedFor() {
|
||||
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;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user