From 5a2fe6e61caf9024be29568b0b053f163c6f899e Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 9 Jan 2018 13:10:18 +0100 Subject: use T instead of RuntimeException --- src/core/lombok/Lombok.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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 RuntimeException sneakyThrow0(Throwable t) throws T { + private static T sneakyThrow0(Throwable t) throws T { throw (T)t; } -- cgit