From b5c8b725655d2ad8a715cfb1fbbdf25dbdcd4ceb Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 16 Oct 2009 09:32:36 +0200 Subject: Fixed issue #24 by refactoring the AST.Node class - taken it out, and in the process fixed a lot of type annoyance by adding more generics. Also changed coding style from for/while/if/switch/catch/do ( expr ) {} to for (expr) {}, hence the changes _everywhere_. --- src/lombok/Lombok.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lombok/Lombok.java') diff --git a/src/lombok/Lombok.java b/src/lombok/Lombok.java index 9656b7fd..f2f196ed 100644 --- a/src/lombok/Lombok.java +++ b/src/lombok/Lombok.java @@ -48,7 +48,7 @@ public class Lombok { * @return A dummy RuntimeException; this method never returns normally, it always throws an exception! */ public static RuntimeException sneakyThrow(Throwable t) { - if ( t == null ) throw new NullPointerException("t"); + if (t == null) throw new NullPointerException("t"); Lombok.sneakyThrow0(t); return null; } -- cgit