Skip to content

Commit

Permalink
Minor cosmetic change
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 17, 2024
1 parent 47daacb commit 7180525
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4035,8 +4035,7 @@ public String writeValueAsString(Object value)
throws JsonProcessingException
{
// alas, we have to pull the recycler directly here...
try (SegmentedStringWriter sw = new SegmentedStringWriter(_jsonFactory._getBufferRecycler());
){
try (SegmentedStringWriter sw = new SegmentedStringWriter(_jsonFactory._getBufferRecycler())) {
_writeValueAndClose(createGenerator(sw), value);
return sw.getAndClear();
} catch (JsonProcessingException e) {
Expand Down

0 comments on commit 7180525

Please sign in to comment.