Skip to content

Commit

Permalink
Java8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-rayman committed Sep 10, 2024
1 parent 4d1f83d commit 5bd1a37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ object JsonCodec {

if (valueEnded && depth == 0) {
val str = stringBuilder.result()
if (!str.isBlank) chunkBuilder += str
if (!str.forall(_.isWhitespace)) chunkBuilder += str
stringBuilder.clear()
}
}
Expand Down

0 comments on commit 5bd1a37

Please sign in to comment.