summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/java/80051-double_brace.java
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/java/80051-double_brace.java')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/java/80051-double_brace.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/java/80051-double_brace.java b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/java/80051-double_brace.java
new file mode 100644
index 00000000..66183ada
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/java/80051-double_brace.java
@@ -0,0 +1,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(...));
+}});
+