Skip to content

Commit

Permalink
fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Dema-koder committed Nov 24, 2024
1 parent 497683d commit 84fd25c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/cactoos/bytes/BytesOf.java
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,8 @@ public BytesOf(final Text text) {
}

/**
* Constructs a {@link BytesOf} instance from a {@link Text} object and a specified {@link Charset}.
* Constructs a {@link BytesOf} instance from a {@link Text} object and
* a specified {@link Charset}.
*
* <p>This constructor converts the text into bytes using the provided character encoding.</p>
*
Expand Down Expand Up @@ -474,6 +475,7 @@ public BytesOf(final Text text, final Charset charset) {
public BytesOf(final Text text, final CharSequence charset) {
this(() -> text.asString().getBytes(charset.toString()));
}

/**
* Constructs a {@link BytesOf} instance from a {@link Throwable} (exception or error).
*
Expand Down

0 comments on commit 84fd25c

Please sign in to comment.