summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/java/80050-double_brace.java
blob: e00246e15badb02d9d332f86a0aeeb30fbfd606d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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(...));
}});