diff options
author | Roel Spilker <r.spilker@gmail.com> | 2018-01-09 13:10:18 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2018-01-09 13:10:18 +0100 |
commit | 5a2fe6e61caf9024be29568b0b053f163c6f899e (patch) | |
tree | e386e4f9f65f4147991c5b71be2532c093d0b1cc /src/core | |
parent | 371b9712df6688dd6447f4f829a347ee776e63ec (diff) | |
download | lombok-5a2fe6e61caf9024be29568b0b053f163c6f899e.tar.gz lombok-5a2fe6e61caf9024be29568b0b053f163c6f899e.tar.bz2 lombok-5a2fe6e61caf9024be29568b0b053f163c6f899e.zip |
use T instead of RuntimeException
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/lombok/Lombok.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/Lombok.java b/src/core/lombok/Lombok.java index ae375637..d86b6d1c 100644 --- a/src/core/lombok/Lombok.java +++ b/src/core/lombok/Lombok.java @@ -52,7 +52,7 @@ public class Lombok { } @SuppressWarnings("unchecked") - private static <T extends Throwable> RuntimeException sneakyThrow0(Throwable t) throws T { + private static <T extends Throwable> T sneakyThrow0(Throwable t) throws T { throw (T)t; } |