diff options
-rw-r--r-- | src/core/lombok/SneakyThrows.java | 4 |
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> * @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) { |