Skip to content

Commit

Permalink
Use Reader instead of String in StreamReader
Browse files Browse the repository at this point in the history
  • Loading branch information
krzema12 committed Jul 27, 2024
1 parent f770afb commit 0d61799
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SnakeyamlEngineJvmLoadingTimeBenchmark {
handle.source().buffer().use { source ->
val reader = StreamReader(
loadSettings,
YamlUnicodeReader(source.inputStream()).readText(),
YamlUnicodeReader(source.inputStream()),
)
val composer = Composer(
loadSettings,
Expand Down

0 comments on commit 0d61799

Please sign in to comment.