aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/Lombok.java
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2018-01-09 13:10:18 +0100
committerRoel Spilker <r.spilker@gmail.com>2018-01-09 13:10:18 +0100
commit5a2fe6e61caf9024be29568b0b053f163c6f899e (patch)
treee386e4f9f65f4147991c5b71be2532c093d0b1cc /src/core/lombok/Lombok.java
parent371b9712df6688dd6447f4f829a347ee776e63ec (diff)
downloadlombok-5a2fe6e61caf9024be29568b0b053f163c6f899e.tar.gz
lombok-5a2fe6e61caf9024be29568b0b053f163c6f899e.tar.bz2
lombok-5a2fe6e61caf9024be29568b0b053f163c6f899e.zip
use T instead of RuntimeException
Diffstat (limited to 'src/core/lombok/Lombok.java')
-rw-r--r--src/core/lombok/Lombok.java2
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;
}