Skip to content

Commit

Permalink
Replace StringBuilder's append with appendAll (ShiftLeftSecurity#1704)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierpinho authored Apr 28, 2023
1 parent fccd256 commit 5abad7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ object IOUtils {
val read = reader.read(buffer)
productive = read > 0
if (productive) {
stringBuilder.append(buffer)
stringBuilder.appendAll(buffer, 0, read)
}
}

Expand Down

0 comments on commit 5abad7a

Please sign in to comment.