diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/double_brace.java')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/double_brace.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/double_brace.java b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/double_brace.java new file mode 100644 index 00000000..8ba15c47 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/java/double_brace.java @@ -0,0 +1,22 @@ +member.func(new List() {{ + add("Text"); + add("Text", + "Hello"); +}}); + + +private static final Set<String> VALID_CODES = new HashSet<String>() +{{ + add("XZ13s"); + add("AB21/X"); + add("YYLEX"); + add("AR2D"); + }}; + +add(new JPanel(){{ + setLayout(...); + setBorder(...); + add(new JLabel(...)); + add(new JSpinner(...)); + }}); + |