aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/SneakyThrowsSingle.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/SneakyThrowsSingle.java')
-rw-r--r--test/transform/resource/after-ecj/SneakyThrowsSingle.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/transform/resource/after-ecj/SneakyThrowsSingle.java b/test/transform/resource/after-ecj/SneakyThrowsSingle.java
index eea593f2..073d690a 100644
--- a/test/transform/resource/after-ecj/SneakyThrowsSingle.java
+++ b/test/transform/resource/after-ecj/SneakyThrowsSingle.java
@@ -8,7 +8,8 @@ class SneakyThrowsSingle {
{
System.out.println("test1");
}
- catch (final Throwable $ex) {
+ catch (final Throwable $ex)
+ {
throw lombok.Lombok.sneakyThrow($ex);
}
}
@@ -18,7 +19,8 @@ class SneakyThrowsSingle {
System.out.println("test2");
throw new IOException();
}
- catch (final IOException $ex) {
+ catch (final IOException $ex)
+ {
throw lombok.Lombok.sneakyThrow($ex);
}
}
@@ -28,7 +30,8 @@ class SneakyThrowsSingle {
System.out.println("test3");
throw new IOException();
}
- catch (final IOException $ex) {
+ catch (final IOException $ex)
+ {
throw lombok.Lombok.sneakyThrow($ex);
}
}