diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/java/80050-double_brace.java')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/java/80050-double_brace.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/java/80050-double_brace.java b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/java/80050-double_brace.java new file mode 100644 index 00000000..e00246e1 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/java/80050-double_brace.java @@ -0,0 +1,21 @@ +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(...)); +}}); + |