aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/core/SpiLoadUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/lombok/core/SpiLoadUtil.java')
-rw-r--r--src/lombok/core/SpiLoadUtil.java2
1 files changed, 1 insertions, 1 deletions
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) {}
}
}