diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-06-18 00:35:26 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-06-18 00:35:26 +0200 |
commit | e33a2090227585301b95a368050e83dc4c5883e5 (patch) | |
tree | 317be3f660e0b1a5ed046f9aa1a904a8c288018a /test/pretty/resource/after/ArrayAndVarargs.java | |
parent | d9b8b14575280cd6411a6a157b6c4e8117edb1ba (diff) | |
download | lombok-e33a2090227585301b95a368050e83dc4c5883e5.tar.gz lombok-e33a2090227585301b95a368050e83dc4c5883e5.tar.bz2 lombok-e33a2090227585301b95a368050e83dc4c5883e5.zip |
[issue #2140] Reproducing the bug: delombok issue: When you delombok a signature like: `List<byte[]>... arg`, the array brackets are replaced by dots in the delomboked output, which isn’t valid java.
Diffstat (limited to 'test/pretty/resource/after/ArrayAndVarargs.java')
-rw-r--r-- | test/pretty/resource/after/ArrayAndVarargs.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pretty/resource/after/ArrayAndVarargs.java b/test/pretty/resource/after/ArrayAndVarargs.java new file mode 100644 index 00000000..9727bff6 --- /dev/null +++ b/test/pretty/resource/after/ArrayAndVarargs.java @@ -0,0 +1,7 @@ +import java.util.List; +class ArrayAndVarargs { + void test(List<String[]>... foo) { + } + void test2(byte[]... foo) { + } +} |