From 1b0d0ff5ad539f34fc27a8a27621b3f8d6d982b7 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 18 Oct 2009 15:12:41 +0200 Subject: Configured warnings and solved some. --- src/lombok/core/SpiLoadUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lombok/core/SpiLoadUtil.java') diff --git a/src/lombok/core/SpiLoadUtil.java b/src/lombok/core/SpiLoadUtil.java index 3031576a..0a97af7e 100644 --- a/src/lombok/core/SpiLoadUtil.java +++ b/src/lombok/core/SpiLoadUtil.java @@ -123,7 +123,7 @@ public class SpiLoadUtil { } } finally { try { - in.close(); + if (in != null) in.close(); } catch (Throwable ignore) {} } } -- cgit