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: *
* @SneakyThrows(UnsupportedEncodingException.class)
- * public void utf8ToString(byte[] bytes) {
+ * public String utf8ToString(byte[] bytes) {
* return new String(bytes, "UTF-8");
* }
*
*
* Becomes:
*
- * public void utf8ToString(byte[] bytes) {
+ * public String utf8ToString(byte[] bytes) {
* try {
* return new String(bytes, "UTF-8");
* } catch (UnsupportedEncodingException $uniqueName) {