aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2023-01-12 02:04:20 +0100
committerGitHub <noreply@github.com>2023-01-12 02:04:20 +0100
commit9e6f66c557205bff3c87eefb4c7a7631d0b89ff0 (patch)
treecaa14a97db0852d16444575892db6d0761cc18de /test/transform/resource/before
parent8bb4dc5daa8792e718e88c596812f232a2b73e6e (diff)
parentf13b4dbbfccfe5a6bb72906c84c2e640e05d7788 (diff)
downloadlombok-9e6f66c557205bff3c87eefb4c7a7631d0b89ff0.tar.gz
lombok-9e6f66c557205bff3c87eefb4c7a7631d0b89ff0.tar.bz2
lombok-9e6f66c557205bff3c87eefb4c7a7631d0b89ff0.zip
Merge pull request #3325 from Rawi01/builder-default-array
Convert short array initializers to long version
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r--test/transform/resource/before/BuilderDefaultsArray.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderDefaultsArray.java b/test/transform/resource/before/BuilderDefaultsArray.java
new file mode 100644
index 00000000..11fabc6a
--- /dev/null
+++ b/test/transform/resource/before/BuilderDefaultsArray.java
@@ -0,0 +1,11 @@
+import lombok.Builder;
+import lombok.Value;
+
+@Builder
+public class BuilderDefaultsArray {
+ @Builder.Default
+ int[] x = {1,2};
+
+ @Builder.Default
+ java.lang.String[][] y = {};
+} \ No newline at end of file