diff options
author | Ruslan Popenko <ruslanpopenko@ukr.net> | 2017-11-07 12:14:54 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2018-01-09 13:03:25 +0100 |
commit | aaa876d3326f9ba1b411bbd9b341ff8a729e58ae (patch) | |
tree | 703dace7a89eaf14cbc6fa5a30a43aaccadd8222 /src/core/lombok | |
parent | 4ac941acca350b889ae6ccd6f455c992a5e49dce (diff) | |
download | lombok-aaa876d3326f9ba1b411bbd9b341ff8a729e58ae.tar.gz lombok-aaa876d3326f9ba1b411bbd9b341ff8a729e58ae.tar.bz2 lombok-aaa876d3326f9ba1b411bbd9b341ff8a729e58ae.zip |
Wrong documentation variables fix.
I've fixed documentation for Cleanup annotation. Doc provided before wrong variable information (you closed String instead of Closeable).
Diffstat (limited to 'src/core/lombok')
-rw-r--r-- | src/core/lombok/Cleanup.java | 4 |
1 files changed, 2 insertions, 2 deletions
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(); * } * } * </pre> |