Skip to content

Commit

Permalink
Change another way to trigger coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
programbeginnerTW committed Jan 2, 2025
1 parent ee36579 commit 58a5fbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/java/hudson/console/ConsoleNote.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ public void encodeTo(OutputStream out) throws IOException {
* encoding is ASCII compatible.
*/
public void encodeTo(Writer out) throws IOException {
out.write(new String(encodeToBytes().toByteArray(), StandardCharsets.UTF_8));
String writeUTF8 = new String(encodeToBytes().toByteArray(), StandardCharsets.UTF_8);
out.write(writeUTF8);
}

private ByteArrayOutputStream encodeToBytes() throws IOException {
Expand Down

0 comments on commit 58a5fbc

Please sign in to comment.