aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/after/TryWithResources.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2013-03-25 20:31:18 +0100
committerRoel Spilker <r.spilker@gmail.com>2013-03-25 20:31:18 +0100
commitf36deeb25f7ff4799b754482c014a413250b33a5 (patch)
treecdad5343e429b8a243db02b9e826205099b1d34f /test/pretty/resource/after/TryWithResources.java
parentd7776a91222c943aeb25cf61444df46fe5cdebfa (diff)
parent66f32d5073bc726f76f958471ea93ec5a29c354b (diff)
downloadlombok-f36deeb25f7ff4799b754482c014a413250b33a5.tar.gz
lombok-f36deeb25f7ff4799b754482c014a413250b33a5.tar.bz2
lombok-f36deeb25f7ff4799b754482c014a413250b33a5.zip
Fixed merge conflict in changelog
Diffstat (limited to 'test/pretty/resource/after/TryWithResources.java')
-rw-r--r--test/pretty/resource/after/TryWithResources.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/pretty/resource/after/TryWithResources.java b/test/pretty/resource/after/TryWithResources.java
new file mode 100644
index 00000000..1a8b82e2
--- /dev/null
+++ b/test/pretty/resource/after/TryWithResources.java
@@ -0,0 +1,9 @@
+//version 7:
+import java.io.PrintWriter;
+public class TryWithResources {
+ {
+ try (final PrintWriter pw = new PrintWriter(System.out);) {
+ pw.println();
+ }
+ }
+}