From 9639bc2ff466e94f629d81ff00d8cab654f3ab19 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 3 Dec 2013 21:17:05 +0100 Subject: [pretty] Make the tests work with the new delombok formatting options. --- test/transform/resource/after-delombok/ValInTryWithResources.java | 2 +- test/transform/resource/after-delombok/ValWithLabel.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'test/transform/resource/after-delombok') diff --git a/test/transform/resource/after-delombok/ValInTryWithResources.java b/test/transform/resource/after-delombok/ValInTryWithResources.java index 73f8d1a2..9aae99a2 100644 --- a/test/transform/resource/after-delombok/ValInTryWithResources.java +++ b/test/transform/resource/after-delombok/ValInTryWithResources.java @@ -2,7 +2,7 @@ import java.io.IOException; public class ValInTryWithResources { public void whyTryInsteadOfCleanup() throws IOException { - try (final java.io.InputStream in = getClass().getResourceAsStream("ValInTryWithResources.class");) { + try (java.io.InputStream in = getClass().getResourceAsStream("ValInTryWithResources.class")) { final java.io.InputStream i = in; final int j = in.read(); } diff --git a/test/transform/resource/after-delombok/ValWithLabel.java b/test/transform/resource/after-delombok/ValWithLabel.java index 82cd4ed7..4d8eabf2 100644 --- a/test/transform/resource/after-delombok/ValWithLabel.java +++ b/test/transform/resource/after-delombok/ValWithLabel.java @@ -1,6 +1,7 @@ public class ValWithLabel { { - LABEL: for (final java.lang.String x : new String[0]) { + LABEL: + for (final java.lang.String x : new String[0]) { if (x.toLowerCase() == null) { continue LABEL; } -- cgit