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