aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoman Ivanov <roivanoff@gmail.com>2021-05-16 20:18:01 +0300
committerRoel Spilker <r.spilker@gmail.com>2021-06-10 21:06:19 +0200
commitc335c2bfc96caafc1f873be487285444f5d160e9 (patch)
tree4c1f414c00bea7ce7dd21ed824172b1b62b03285 /src
parent157ee0291a2925d23ae1290285b5278a4df1030c (diff)
downloadlombok-c335c2bfc96caafc1f873be487285444f5d160e9.tar.gz
lombok-c335c2bfc96caafc1f873be487285444f5d160e9.tar.bz2
lombok-c335c2bfc96caafc1f873be487285444f5d160e9.zip
SneakyThrows.java fix typo - return String instead void
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/SneakyThrows.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/SneakyThrows.java b/src/core/lombok/SneakyThrows.java
index 0506d615..2a8009a3 100644
--- a/src/core/lombok/SneakyThrows.java
+++ b/src/core/lombok/SneakyThrows.java
@@ -39,14 +39,14 @@ import java.lang.annotation.Target;
* Example:
* <pre>
* &#64;SneakyThrows(UnsupportedEncodingException.class)
- * public void utf8ToString(byte[] bytes) {
+ * public String utf8ToString(byte[] bytes) {
* return new String(bytes, "UTF-8");
* }
* </pre>
*
* Becomes:
* <pre>
- * public void utf8ToString(byte[] bytes) {
+ * public String utf8ToString(byte[] bytes) {
* try {
* return new String(bytes, "UTF-8");
* } catch (UnsupportedEncodingException $uniqueName) {