From aaa876d3326f9ba1b411bbd9b341ff8a729e58ae Mon Sep 17 00:00:00 2001 From: Ruslan Popenko Date: Tue, 7 Nov 2017 12:14:54 +0200 Subject: Wrong documentation variables fix. I've fixed documentation for Cleanup annotation. Doc provided before wrong variable information (you closed String instead of Closeable). --- src/core/lombok/Cleanup.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core') diff --git a/src/core/lombok/Cleanup.java b/src/core/lombok/Cleanup.java index 528855cd..a3a1c198 100644 --- a/src/core/lombok/Cleanup.java +++ b/src/core/lombok/Cleanup.java @@ -61,10 +61,10 @@ import java.lang.annotation.Target; * outStream.write(b, 0, r); * } * } finally { - * if (out != null) out.close(); + * if (outStream != null) outStream.close(); * } * } finally { - * if (in != null) in.close(); + * if (inStream != null) inStream.close(); * } * } * -- cgit