From 4f763367f1092546350324f3040fa84cb0380409 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Fri, 2 Oct 2020 17:30:07 +0200 Subject: Rename TryWithResourcesVarRef --- test/pretty/resource/after/TryWithResourcesVarRef.java | 9 +++++++++ test/pretty/resource/after/tryWithResourcesVarRef.java | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 test/pretty/resource/after/TryWithResourcesVarRef.java delete mode 100644 test/pretty/resource/after/tryWithResourcesVarRef.java (limited to 'test') diff --git a/test/pretty/resource/after/TryWithResourcesVarRef.java b/test/pretty/resource/after/TryWithResourcesVarRef.java new file mode 100644 index 00000000..5117f706 --- /dev/null +++ b/test/pretty/resource/after/TryWithResourcesVarRef.java @@ -0,0 +1,9 @@ +import java.io.PrintWriter; +public class TryWithResourcesVarRef { + { + PrintWriter pw = new PrintWriter(System.out); + try (pw) { + pw.println(); + } + } +} diff --git a/test/pretty/resource/after/tryWithResourcesVarRef.java b/test/pretty/resource/after/tryWithResourcesVarRef.java deleted file mode 100644 index 5117f706..00000000 --- a/test/pretty/resource/after/tryWithResourcesVarRef.java +++ /dev/null @@ -1,9 +0,0 @@ -import java.io.PrintWriter; -public class TryWithResourcesVarRef { - { - PrintWriter pw = new PrintWriter(System.out); - try (pw) { - pw.println(); - } - } -} -- cgit