aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/VarWarning.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/VarWarning.java')
-rw-r--r--test/transform/resource/before/VarWarning.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/transform/resource/before/VarWarning.java b/test/transform/resource/before/VarWarning.java
new file mode 100644
index 00000000..85559587
--- /dev/null
+++ b/test/transform/resource/before/VarWarning.java
@@ -0,0 +1,10 @@
+//CONF: lombok.var.flagUsage = WARNING
+//skip compare contents
+import lombok.experimental.var;
+
+public class VarWarning {
+ public void isOkay() {
+ var x = "Warning";
+ x.toLowerCase();
+ }
+} \ No newline at end of file